Forum Moderators: not2easy
any help is appreciated, I'm going out of my mind on this issue.
the relevant selectors in my css are #story ul and #story li, in case you need them.
thank you in advance!
ale.
[edited by: alekone at 9:15 pm (utc) on June 19, 2006]
Then I suggest that you validate your page for
(x)html and css if you have not done so yet. (your css has numerous errors in it, the validator is an excellent learning tool, if you don't understand the errors, post them and someone will help you out)
Once you do this, then post the relevant code that you feel is causing the problem.
I would also suggest reading the WebmasterWorld TOS.
here's the relevant CSS (I read the forum guidelines :P )
#content ul {
margin-left: 0;
padding-left: 15px;
list-style-type: none;
margin:0;
padding-bottom:15px;
}
#content li {
background: url('img/bullet.png') no-repeat 0 7px;
padding-left: 1.5em;
text-align:justify;
display:block;
}
I had to use padding-bottom to separate each ul from the other, but it causes the whiteline to appear on the background in IE.
any clue?
You can post a bit more of your css and your (x)html so that we can see how you have your page done, as well as what css is before and after what you have now.
sometimes it isn't what we think it is that is causing the problem. If that makes any sense.
Also, a great site for learning how to style lists is called List a matic, fabulous site. tons of tutorials on it. Best way to learn is to work through some of them.
#content ul, #listchild ul {
padding-left: 15px;
list-style-type: none;
margin:0;
padding-bottom:15px;
}
#content li, #listchild li {
background: url('img/bullet.png') no-repeat 0 7px;
padding-left: 1.5em;
text-align:justify;
display:block;
}