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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE 's strange underlying of <ul> elements 2

Status
Not open for further replies.

rathers

Technical User
Feb 1, 2005
5
US
Hi,

Probably a stupid question but I'm stumped. I have two unordered lists. The first one consists of links, the second one just text items. These lists are imposed over an image. In IE, the <ul> consisting of text items has each item underlined. Why?! Please help and feel free to berate me. Thanks again.
 
Personally I rather like the way the phone numbers look with the white underlines. I can't see anything in the HTML, perhaps there's something in the definition of the style class for that section?


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Sorry, I looked but I can't see anything that stands out.


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
You have [tt]border-bottom[/tt] set to bright color here:
Code:
/* hack to fix IE/Win's broken rendering of block-level anchors in lists */
#navBar li { border-bottom: 1px solid #EEE; }
I guess hacks are usually not the best. Geckos (FF) correct this style in the rule following this one that uses child selector (>) which is not recognized in IE. That is why there is no line in FF but a line in IE.
 
I did a search for "li" in the style sheet and somehow I still missed that!


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top