Can anyone tell me why I can't get the background (white) to cover the whole page. It's the background for .container2 which should envelope the rest of the content but it doesn't seem to.
www.allendesign.ie/css/fit.html
Many thanks.
Can anyone tell me why I can't get the background (white) to cover the whole page. It's the background for .container2 which should envelope the rest of the content but it doesn't seem to.
www.allendesign.ie/css/fit.html
Many thanks.
forgot the height:368px;in the .main
.main { width:980px; height:368px;padding:0; margin:0 auto; background:green;}
.container {width:980px; height:900px; margin:0 auto; background:yellow}
.container2 {width:980px; height:auto; margin:0 auto; background:#fff}
Hmmm - just tried that (link now updated with above change). Still the same though.
change the color the quickest way
TO b6b6b6
.main {width:980px; height:568px; padding:0; margin:0 auto; background:#b6b6b6;}
i did not use the link
< link href="http://www.allendesign.ie/css/style.css" rel="stylesheet" type="text/css" />
i put it in
<style>
</style>
in the page
try it then you will find out
try take this line out
if the last post don't work---------
i have tryed it with the link
//.FBG { height:85px; padding:10px 0; margin:0 auto; background:url(http://www.allendesign.ie/css/images/shadow.gif) top center repeat-x;}
<div class="FBG">
</div>
That didn't do it either. I'm just wondering why the body background #b6b6b6 is taking over the whole page when I've set background colors (test colors at the moment) for the container2 and main divs.
It seems to work in IE but not in firefox.
Suggestions???
if you what the this words to go under the white where the ---shadow.gif is
to move it down
put <BR> 3 times it will move down the <DIV class="body_resize
Considered to be our core activity, we pride ourselves on providing
<BR><BR><BR>
<div class="body_resize">
<div class="left">
<div class="page2left">
<div class="box1">
<h2>.......Considered to be our core activity, we pride ourselves on providing clients with the <strong>full package to fit out to suit the business needs and budget.</strong> <br />
</h2>
Erm.. fix your errors.... see them here
There are HTML errors too, but that wont effect your layout.
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
Bookmarks