Hi folks,
I'm slowly but surely getting the layout sorted of my website with CSS + HTML. Now the layout looks great in Firefox 3.6 but IE 7 doesn't like it at all!
Anyway let me describe the scenario to you.
I have my CSS like so
And I've laid out the HTML so that the DIV's a nested within the main white and green boxes like so
Now as I said it looks great in firefox
But not so much in IE
Can anyone offer some advice?
I'm slowly but surely getting the layout sorted of my website with CSS + HTML. Now the layout looks great in Firefox 3.6 but IE 7 doesn't like it at all!
Anyway let me describe the scenario to you.
I have my CSS like so
Code:
body {
font-family: Arial, sans-serif;
font-size: 14px;
color: #333333;
background-color: #CCCCCC;
text-align: center;
}
/*************************DIV ID's****************************/
#whiteBox {
margin: 0 auto;
margin-top: 85px;
width: 946px;
height: 666px;
background-color: #FFFFFF;
text-align: left;
font-weight: normal;
}
#logoBox {
position: relative;
width: 641px;
height: 55px;
top: 33px;
left: 277px;
text-align: right;
}
#navBox {
position: relative;
width: 641px;
height: 50px;
top: 28px;
left: 277px;
text-align: right;
}
#leftBody {
position: relative;
width: 241px;
height: 425px;
top: 55px;
left: 22px;
text-align: left;
}
#rightBody {
position: relative;
width: 641px;
height: 425px;
top: -366px;
left: 277px;
text-align: left;
}
#greenBox {
margin: 0 auto;
/*margin-top: 751px;*/
width: 946px;
height: 28px;
text-align: right;
background-color: #336666;
font-weight: normal;
}
#creditBox {
position: relative;
width: 641px;
height: 20px;
top: 8px;
left:277px;
text-align: right;
font-weight: normal;
}
#socLogoBox {
position: relative;
width: 90px;
height: 20px;
top: -15px;
left: 22px;
text-align: left;
font-weight: normal;
}
And I've laid out the HTML so that the DIV's a nested within the main white and green boxes like so
Code:
<html>
<head>
<title>Test layout</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="./css/siteStyle.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="whiteBox">
<div id="logoBox">
<font class="logoA">paulstatham</font><font class="logoB">photography</font>
<hr>
</div>
<div id="navBox">
<p class="navA">HOME | PORTFOLIO | NEWS | PRICING INFORMATION | SHOPPING CART | CONTACT</p>
</div>
<div id="leftBody">
<font class="secHead1">WELCOME</font>
<p class="secText">Bla bla bla</p>
</div>
<div id="rightBody">
Right Body!
</div>
</div>
<div id="greenBox">
<div id="creditBox">
<font class="credits">(c) 2010 Paul Statham - Privacy Statement - Legal Disclaimer</font>
</div>
<div id ="socLogoBox">
<img src="./images/fbLogo.png"> <img src="./images/twLogo.png">
</div>
</div>
</body>
</html>
Now as I said it looks great in firefox

But not so much in IE

Can anyone offer some advice?