Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UL - list-style-type 1

Status
Not open for further replies.

AaronBeau

MIS
Jan 29, 2008
89
US
Below is the CSS that I am using to format my web page.
Whenever I use the 'POSITION' option the circle "LIST-STYLE-TYPE" doesn't show up in IE. It works fine in firefox.

Any help is greatly appreciated.

#propertyDetailDescription ul {
position:fixed;
top:150px;
left:300px;
right:35px;
list-style-type: circle;
}
 
You are likely setting the margin to zero somewhere outside the css you're showing us. IE uses the margin to display the list-style-type while most other browsers put the list-style-type within the box for the element.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
I looked at the CSS sheet. The only margin's that are being set is "margin-left: 15px;"

If I take the "position: fixed;" out of the CSS it works. However, anytime I add the value position to the CSS the bullets disappear.
 
I suppose you need to have position fixed to work the way you want it to on your page. Does it not work in IE7 or IE6 or both? IE6 does not support fixed positioning at all and simply translates it to absolute positioning. And IE is quite unpredictable with some aspects of absolute positioning.

If you really need the position fixed, I guess you will have to enclose the ul in another div and give that div the position.

___________________________________________________________
[small]Do something about world cancer today: PACT[/small]
 
Thank you for that post Vragabond. I put the UL in a div and changed all my fixed to absolute and it works perfect now!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top