471,618 Members | 1,557 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,618 software developers and data experts.

Problems between IE and Firefox with DIV's

I am having a bit of a problem with the layout of my new page I am creating. It works fine in IE 7 but when it comes to Firefox, all the content in my main content DIV is not aligned correctly. This is the first time I have created something using DIV's and CSS so excuse my n00bness. I have ran my page through all the WC3 checkers and everything seems to come out ok. Any help is greatly appreciated.

http://www.kokomo.k12.in.us/newsite/ is the address of the page I am currently trying to get going.
Aug 31 '07 #1
2 1135
drhowarddrfine
7,435 Expert 4TB
While I look at the markup I want to remind you that you should never design a page using IE7. It is nine years behind web standards and riddled with bugs. Always design using a modern browser first, such as Firefox, Opera or Safari. Then we can adjust to IEs quirks and bugs.
Aug 31 '07 #2
drhowarddrfine
7,435 Expert 4TB
Well there is more going on there than I have time for. I believe the problems lie with absolute positioning. You use it quite a bit but I think you forget that abs pos removes the element from the normal flow. This allows elements to rise up to the next positioned element, in this case, it might be <body>. Why IE is ignoring this, I'm not sure and didn't take the time to find out.

Your top banner is abs pos so all other elements rise up and cover it. Try relatively positioning it to see the change (didn't try it myself).
Aug 31 '07 #3

Post your reply

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

Similar topics

3 posts views Thread by Kevin Matthews | last post: by
2 posts views Thread by Ian Beer | last post: by
3 posts views Thread by yawnmoth | last post: by
2 posts views Thread by Griff | last post: by
2 posts views Thread by Spondishy | last post: by
7 posts views Thread by yawnmoth | last post: by
2 posts views Thread by Eric Lindsay | last post: by
1 post views Thread by XIAOLAOHU | last post: by
1 post views Thread by ZEDKYRIE | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.