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

A div/CSS/IE issue

Status
Not open for further replies.

donishere

Programmer
May 7, 2002
101
I am seriously racking my brain with this one...

If you look here in Internet Explorer only...

There is a break between the top navigation bar and that middle image that is not supposed to be there. There are some clear/both's in that area and, per Meggan's suggestion, line-height has been set to 0. But that darned break is still there.

Anyone have any ideas?
 
In your UL in #topnav-right you set bottom padding to 10px for some obscure reason. It doesn't seem to have any effect in FF, but in IE it pushes the height of #topnav-right (and all the subsequent parent elements) to be larger than your strip and pushes the content further down. I suggest you simply remove the bottom padding (again, it had no effect in FF and positive effect in IE):
Code:
#topnav-right ul {
  margin: 0;
  [!][s]padding: 0pt 0pt 10px;[/s][/!]
  [b][blue]padding: 0;[/blue][/b]
}

___________________________________________________________
[small]Do something about world cancer today: Comprehensive cancer control information at PACT[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top