PDA

View Full Version : Display fine in IE, no good in FF2



phpnewb
Jan 7th, 2007, 04:32 AM
I can't seem to get my page to show up right on firefox. Here is the site www.chattennis.com. Any help would be much appreciated.

_Aerospace_Eng_
Jan 7th, 2007, 04:46 AM
This is why you code for Firefox and tweak for IE. You made the mistake of doing it the other way around. Code for a good browser. Try this for your #main-center div. Also remove the size attributes in your inputs.

#main-center {
margin-left:20%;
margin-right:30%;

border:1px solid #0EBFE9;
padding:0px;
}
I don't think you understand the term fluid that well. Not EVERYTHING needs to have a percentage width. Usually the sidebars are a fixed width and the middle content has a left and right margin to overcome the width of the sidebars. Tutorial here: http://bonrouge.com/3c-hf-fluid.php

phpnewb
Jan 7th, 2007, 05:30 AM
thank you, fixed the problem