I'm trying to create a style sheet and we need bullet lists and number lists with 3 levels of indentation. I thought I had them working fine until I tried to look at the files in Chrome - there were added indents on the bullets that made all the alignment look off. When I built the Flare output, these extra indents also appeared
Can somebody please advise on how to create bullets and num lists that work across browsers?
What we need is:
Bullet List and Number List that align with <P> (left align).
Indent Bullet List and Indent Num List that are indented from the left by 2ems
Another level of both that indent by 4 ems
We also have 'example' versions which are the same, but italic.
They need to have hanging indents so I have kept the default 'outside' setting.
This is what we have in the stylesheet at the moment:
li
{
margin-bottom: 1em;
margin-left: -2em;
margin: 0px;
margin-top: 1em;
list-style-position: outside;
}
ul
{
margin: 0;
margin-bottom: 1em;
margin-top: 1em;
list-style-position: outside;
margin-left: 4em;
}
li.indent1
{
list-style-position: outside;
margin-top: 1.5em;
margin-left: 2em;
}
ol
{
list-style-type: decimal;
margin: 0;
margin-top: 1em;
margin-bottom: 1em;
list-style-position: outside;
margin-left: 4em;
}
li.indent1
{
list-style-position: outside;
margin-top: 1.5em;
margin-left: 2em;
}
li.indent2
{
margin-top: 1.5em;
font-size: 100%;
margin-left: 4em;
}
li.exampleindent1
{
font-style: italic;
margin-top: 1.5em;
margin-left: 2em;
}
li.exampleindent2
{
font-style: italic;
margin-top: 1.5em;
margin-left: 4em;
}
ol.ol_1
{
margin-left: 2em;
}
li.exampleindent1
{
margin-left: 2em;
}
li.exampleindent2
{
margin-left: 4em;
}
What is going wrong? (I'm very much a CSS novice as you can probably tell).
Thanks