2 replies [Last post]
josh
Offline
newbie
Last seen: 15 years 9 weeks ago
Joined: 2004-05-19
Posts: 2
Points: 0

Hi. I'm having a problem with IE not displaying a div correctly. Specifically "breadcrumbA". In IE6 the div is there but the text and bg color can't be seen unless I select it with the mouse. Thx for your help.

http://keolo1.home.comcast.net/testing/css/t9/

timhobbs
timhobbs's picture
Offline
Regular
Monterey, CA
Last seen: 15 years 38 weeks ago
Monterey, CA
Timezone: GMT-8
Joined: 2003-10-27
Posts: 37
Points: 0

Weird IE 6 problem

I think it is the weird float bug where sometimes elements touching a float do not appear. Just do this:

#breadcrumbA {
	background-color: #CCCCCC;
	z-index: 100;
	height: 1%;
}

However, be sure you check in other browsers so the height setting doesn't bite you Wink

I use this to fix the IE bugs and it seems to work fine for me in NS7.1, Moz1.4 and Opera7.11

josh
Offline
newbie
Last seen: 15 years 9 weeks ago
Joined: 2004-05-19
Posts: 2
Points: 0

Weird IE 6 problem

Yep that did it. Now that you've mentioned it I remember coming across that problem before. But it's those little things that are the most frustrating. Thanks agian.