Skip to main content
September 19, 2013
Question

CSS ordered list w/ no indent

  • September 19, 2013
  • 1 reply
  • 2052 views

Using RH v 10 on win 7.

I want the ordered lists in my topic to be left aligned (no indent). I look in my CSS file under OL and set left to 0px. Numbers are still indented. here's the HTML code for OL:

<ol style="list-style: decimal;">

In the CSS file, there is no style by this name (decimal). where is RH picking up this style?

My project is set to use my desired CSS file and i see the correct styles in styles list.

I see no style by name of "decimal"

Where else should i look? I assume this is a special RH numbering feature.

If i simply use <ol> for my tag there is no numbering in design view.

This topic has been closed for replies.

1 reply

Willam van Weelden
Inspiring
September 20, 2013

Hi,

You must set the margin of the ol and li elements, for exaple:

ol {

margin-left: 0;

}

ol li {

margin-left: 0;

}

The decimal tells RH which numbering to use. You can remove it there and add the following to the OL in the CSS:

list-style: decimal;

Greet,

Willam