Forum Moderators: not2easy

Message Too Old, No Replies

CSS IE6 Bug Need Some help

         

nextadvantage

11:40 pm on Nov 30, 2007 (gmt 0)

10+ Year Member



I have had this issue a couple times and can't seem to find an answer...
I have a div "wrapper" that is used to wrap body content from template pages...

I have the bg color specified, and I am having issues with the background and floats in this div in IE 6 if anyone could help I would really appreciate it, I have had this issue a couple other times and could not solve the issue.

I will post the link in 2 parts to avoid linked content issues.

the wrapper div wraps the body content....

[edited by: SuzyUK at 2:38 pm (utc) on Dec. 1, 2007]
[edit reason] No URI's please [/edit]

SuzyUK

2:44 pm on Dec 1, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



nextadvantage,

not sure what you mean as even viewing the link (before removing it) didn't help (unless you've fixed it already?)

anyway I'm wondering if you're meaning the the background of the wrapper doesn't stretch to the bottom or that your wrapper div does not contain your floated divs?

aside:
in your CSS you have this:

#wrapper {
background-color:#f2f2f2;
overflow:auto;
width:960px;
clear:both;
width=100%;
}

should be width: 100%;

this might be causing IE6 a problem because setting a width (hasLayout) is one way to fix many IE problems.

let us know if you've fixed it or post a stripped down example of your code

[edited by: SuzyUK at 2:44 pm (utc) on Dec. 1, 2007]