fri3ndly Posted February 5, 2008 Share Posted February 5, 2008 My website looks really bad in Firefox and on some screen resolutions in IE The url is: chsweb.net/clients/penhurst and it looks the worst on the homepage, about us page and directors page Can anyone help me? It looks like the contact bar on the side is not being recognised as an element. What I really want is it to be set as a minimum height Link to comment https://forums.phpfreaks.com/topic/89525-css-website-displaying-weird-in-firefox/ Share on other sites More sharing options...
phpQuestioner Posted February 5, 2008 Share Posted February 5, 2008 Try setting your "contentpage" div as a block level element. I believe that is the div that you are using as your page's content wrapper. Link to comment https://forums.phpfreaks.com/topic/89525-css-website-displaying-weird-in-firefox/#findComment-458584 Share on other sites More sharing options...
fri3ndly Posted February 5, 2008 Author Share Posted February 5, 2008 Hi, thanks for the reply. I tried that but no success. This is how the css for the main parts looks: body { height:100%; margin:0 auto; padding:20px; text-align:center; font-size: 11px; color: #333333; line-height: 16px; font-family: Verdana, Arial, Helvetica, sans-serif; background-image:url(../images/bg.jpg); background-repeat:repeat-x; background-color:#FFF; } #page{ width:800px; text-align:left; background-color:#FFFFFF; margin:0 auto; } #header{ height:110px; } #contentpage{ margin-left:28px; margin-right:28px; margin-top:15px; padding-bottom:5px; display:block; } #contentpage2{ margin-left:28px; margin-right:28px; margin-top:15px; display:block; } #content{ padding-right:190px; text-align:left; height:auto; min-height:100%; margin:0 auto; display:block; } Link to comment https://forums.phpfreaks.com/topic/89525-css-website-displaying-weird-in-firefox/#findComment-458590 Share on other sites More sharing options...
fri3ndly Posted February 5, 2008 Author Share Posted February 5, 2008 Is it something to do with not 'clearing' a float? I havent used a clear anywhere Link to comment https://forums.phpfreaks.com/topic/89525-css-website-displaying-weird-in-firefox/#findComment-458596 Share on other sites More sharing options...
phpQuestioner Posted February 5, 2008 Share Posted February 5, 2008 The code you just provided does not have any floats in it. Are you using floats or positioning any where else; in any other part of your css (inline or external)? Link to comment https://forums.phpfreaks.com/topic/89525-css-website-displaying-weird-in-firefox/#findComment-458609 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.