I see that sometimes less is more here. I was trying to do something by using more divs than I needed.
Thanks.
Lining up the divs to the background is showing differences in browsers FF, IE (as if that is not an understatement)
Hopefully I've not fallen back into using more when less will do.
As it looks now:
http://brightpinkstudio.com/test
If I use the following
Code:
body {
background-image:url(cropped%20files/shared-images/background-col4.png);
background-repeat:repeat-x;
}
div div {
float:left;
height:768px;
width:100%;
}
#top {
width:100%;
height:145px;
background-image:url(cropped%20files/shared-images/background-wave.png);
background-repeat:no-repeat;
margin-bottom: -145px; /*used to allow the three divs to cover the background image*/
}
#one {
width:237px;
background-image:url(cropped%20files/shared-images/background-col1.png);
background-repeat:no-repeat;
}
#two {
width:358px;
background-image:url(cropped%20files/shared-images/background-col2.png);
background-repeat:no-repeat;
}
#three {
width:229px;
background-image:url(cropped%20files/shared-images/background-col3.png);
background-repeat:no-repeat;
}
Code:
<div>
<div id="top"></div>
<div id="one"></div>
<div id="two"></div>
<div id="three"></div>
</div>
I'd like not to use the negative margin in the "TOP" div but still have the page align correctly with the background of the page.
Bookmarks