View Full Version : Resolved Is this a CSS problem???
Defender90
03-17-2009, 07:31 PM
I have a site up and I can't get the center table to be flush with the to of the header div in IE. Works fine on Firefox.
http://www.photocreationsbygem.com/about/index.html
Any ideas?
Thanks
Snookerman
03-18-2009, 04:08 PM
I would recommend that you shouldn't use tables for layout (http://www.hotdesign.com/seybold/everything.html) since they will cause you many problems and you shouldn't use XHTML since it's not supported by IE (http://www.webdevout.net/articles/beware-of-xhtml).
To resolve your problem, remove this:
<!--[if IE]>
<style type="text/css">
/* place css fixes for all versions of IE in this conditional comment */
.twoColLiqLtHdr #sidebar1 { padding-top: 30px; }
.twoColLiqLtHdr #mainContent { zoom: 1; padding-top: 15px; }
/* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
</style>
<![endif]-->
Good luck!
Defender90
03-18-2009, 04:45 PM
PERFECT.
Thanks.....I'm trying to get away from using tables. When I tried using a div in place of it, it worked in IE but not FireFox...
Thanks so much for your help.
Snookerman
03-18-2009, 04:46 PM
You're welcome, glad to help!
You can go to your first post in this thread, click http://www.dynamicdrive.com/forums/images/buttons/edit.gif then click Go Advanced and add the Resolved prefix to the thread title.
This will let other users know the problem has been solved.
Good luck with your site!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.