Click to See Complete Forum and Search --> : looks good in Opera and Firefox, but wrong in IE


Lysyi
06-08-2007, 09:42 AM
Hello, everybody!
I have a problem.
This page: http://friends21.com/index.php/public/user/name_joecool/
displays properly in Opera and Firefox, but wrong in IE.
I mean in IE for some reason header and footer are aligned left, while in Opera and Firefox it stays centered as it must be.
On this site users are allowed to use html code for their profiles (like for example myspace templates). So this user inserted some code that moves headers to the left. (compare with other users: http://friends21.com/index.php/public/user/name_drewness/ http://friends21.com/index.php/public/user/name_administrator/)
But I couldn't find what exactly in that code moves header/footer to the left and why it does so only in IE but not in Opera and Firefox. Anybody knows?
Your help is very much appreciated.
Thank you all in advance.

sticks464
06-08-2007, 12:12 PM
The very first thing to do is uncomment your doctype and indicate a valid content type. Then run it through the validator and you will probably be able to fix most of it. http://validator.w3.org/.
One of the problems is your main container is 800px wide but side by side tables have width settings of 50% and 580px. That doesn't compute to 800px therefore it will put a scrollbar at the bottom of the page (and it does) and it will push content downward.