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!

Browser Compatibility CSS Problem IE6

Status
Not open for further replies.

moongirl129

Programmer
Sep 5, 2002
38
GB
I am building a website for a friend and have the basic layout working fine in IE7. However in IE6 the white background does not extend across to the right hand column and I haven't figured out how to fix this. Can anyone help me on this one? The website is on a test URL at:


Thanks in advance!
 
I will take a look at it.

[small]"I see pretty girls everywhere I look, everywhere I look, everywhere I look. - Band song on movie "The Ringer"[/small]
<.
 
To fix it, put a background-color #ffffff on the following object:

Code:
<div id="content_sub" class="sc">

I see you have no background-color specified on this div.

As to why it's working in IE7 and not IE6, I'm not sure, but I bet it has something to do with all the absolutely positioned divs on the page and z-indexes, which includes the div with id = content_sub.

[small]"I see pretty girls everywhere I look, everywhere I look, everywhere I look. - Band song on movie "The Ringer"[/small]
<.
 
Thanks for the response - I've made a change by adding a background colour to div#content_sub and am waiting to see the results in IE6 from browershots.org so it might take a while! In the meantime, could you clarify why the absolutely positioned divs might cause a problem with IE6? Could I do this layout in a 'better' way?
 
It looks fine now in IE6.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Thanks moongirl129 I was trying to find that browsershots site :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top