I have been going crazy, trying everything that Google and other forums suggested and just failing miserably. I've come here because I've been using answers from this forum for a while and they have always been incredibly useful.
The website url is
http://www.scunt.co.uk -
I have done browser tests and in pretty much every browser it loads fine, with the main table centered - however, in IE7 it hugs the left of the browser window.
This is, from what I can tell a fairly common problem, its just that none of the fixes i've found work for me.
The website is powered by the CMS Drupal. I have reproduced the start of the CSS below. From what I understand
I am a noob, and deserve everything i get, so if anyone could find it in their hearts to help me, i can reward you with love and kudos.
thanks in advance xx
dom
Code:
html-main, .body-main {
background-color:#ffcccc;
padding: 0;
margin: 0 auto;
width: 940px;
font-family: Verdana, Georgia, "Times New Roman", Arial, Tahoma, sans-serif;
font-size: 0.9em !important;
color: #181818;
border-left-style: solid;
border-left-width: 0px;
border-right-style: solid;
border-right-width: 0px;
border-bottom-style: solid;
border-bottom-width: 0px;
}
.body-main
{
display:block;
text-align:center;
margin:0 auto 0 auto;
background:transparent url("images/bg_white.gif") repeat-y center top;
}
.make-it-center
{
margin: 0 auto;
text-align: center;
height: auto;
width:940px;
background-color:#f5f5f1;
}
.clear
{
clear: both;
font-size: 0px;
line-height: 2px;
visibility: collapse;
}
a{color:red; text-decoration:none}
a:hover{color:red; text-decoration:none;}
a:visited{color:red; text-decoration:none}
p
{
margin: 0px;
padding: 0 0 10px 0;
}
/** headers **/
h1, h2, h3, h4, h5, h6 {line-height:normal;}
h1, h1.title
{font-size:1.7em; font-size:18px; margin-bottom:0px; font-weight:normal;}
h2{
font-size:1.9em;
font-weight:normal;
font-family: Verdana, Georgia, "Times New Roman", Arial, Tahoma, sans-serif;
color:#ff6666;
padding:0;
margin:0.2em 0 0.2em 0;
}
h2 a{color:#f9999b;}
.block h2, .block h2.title{
font-size:1.5em;
padding:5px 10px;
color:#fff;
background-color:#747474;
margin: 0 0 0.5em 0;
}
.block h2 a, .block h2.title a{color:#fff; font-size:-1}
.block h2 a:hover, .block h2.title a:hover{color:#bbbbbb;}
.sticky h2, .sticky h2 a{color:#343434 !important;;}