wastlinger
05-08-2005, 07:26 AM
I use the following css code for bullet lists:
ul {
font-size: 0.8em;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
list-style: none;
}
li {
margin: 5px;
padding-left: 20px;
background-image: url(http://dev.casac.co.uk/img/bullet.gif) ;
background-repeat: no-repeat;
background-position: 0px 2px;
}
It works fine in firefox, but I am having problems in Explorer. The following page:
http://dev.casac.co.uk/?cl=section&op=display_section_area&sid=26
should show seven bullet points using the background image (a white square with a black border with a black dot in the middle).
I have validated the CSS and the HTML. CSS validates, HTML does except for some entity reference issues caused by hyperlinks.
Why is this happening. Any help would be much appreciated. Thanks in advance.
ul {
font-size: 0.8em;
margin: 0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
list-style: none;
}
li {
margin: 5px;
padding-left: 20px;
background-image: url(http://dev.casac.co.uk/img/bullet.gif) ;
background-repeat: no-repeat;
background-position: 0px 2px;
}
It works fine in firefox, but I am having problems in Explorer. The following page:
http://dev.casac.co.uk/?cl=section&op=display_section_area&sid=26
should show seven bullet points using the background image (a white square with a black border with a black dot in the middle).
I have validated the CSS and the HTML. CSS validates, HTML does except for some entity reference issues caused by hyperlinks.
Why is this happening. Any help would be much appreciated. Thanks in advance.