467,212 Members | 1,101 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,212 developers. It's quick & easy.

IE 6 CSS Issue

Expert 100+
I've recently been developing a site redesign and testing in IE 7 and Firefox. Things are looking great. As soon as I tested in IE 6 I see some major problems. The site is XHTML Strict (validates) and the CSS is also without error. The problem is obvious if you compare the site (link below) side by side in IE 7 or Firefox and IE6. There is extra padding (white space) below the navigation bar, and there is space between the top of the main body portion of the page, and the actual content whithin the main body. Any ideas of how to fix this, or if I'm doing something wrong in my CSS? Thanks in advance BTW, the site isn't near finished with styling or content, there is just the index page right now, but I wanted to take care of the problem before going further.


Thanks again for any suggestions.

Mar 23 '07 #1
  • viewed: 993
1 Reply
Expert 100+
Never mind, I fixed it. In case anyone wants to know, I had some empty divs that were set to certain heights with background images (how I was achieving the rounded corners.). Because the divs were empty, IE 6 had a problem rendering it for some reason. I added a new class which set any paragraph tags to display none. Then I added a <p>.</p> to each div and violla....all is well again. I'm actually creating the p tags with javascript so things still look nice in the code.


Mar 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by George Hester | last post: by
2 posts views Thread by Anthony Cuttitta Jr. | last post: by
reply views Thread by Kevin Spencer | last post: by
reply views Thread by Charles Leonard | last post: by
4 posts views Thread by Paul | last post: by
1 post views Thread by AlekseyUS | last post: by
13 posts views Thread by SAL | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.