Sevenmatthew
01-22-2007, 05:08 PM
Hi, Sorry i am new to css and i dont understand why this is not working. Look at this link --> http://www.sevendownload.com/ok/
In Internet Exporer it looks ok but in opera and firefox there is a gap in the layout. The bottom part (the transpartent black box) is a background and it should be feither up. Heres the code:
<style type="text/css">
<!--
body {
background-image: url(Aqua-Blue.jpg);
background-repeat: repeat-n;
background-attachment: fixed;
background-position: 50% 0%;
}
div#content
{
margin:auto;
width:100%;
height:100%;
padding-top: 5px;
}
#contentmain {
padding: 0;
align:center;
margin:auto;
height: auto;
width: 900px;
background-image:url(images/Middle.png);
background-repeat: repeat-y;
}
-->
</style>
<div id="contentmain">
<p>My Name is Matthew! </p>
</div>
Thanx please help! :o
In Internet Exporer it looks ok but in opera and firefox there is a gap in the layout. The bottom part (the transpartent black box) is a background and it should be feither up. Heres the code:
<style type="text/css">
<!--
body {
background-image: url(Aqua-Blue.jpg);
background-repeat: repeat-n;
background-attachment: fixed;
background-position: 50% 0%;
}
div#content
{
margin:auto;
width:100%;
height:100%;
padding-top: 5px;
}
#contentmain {
padding: 0;
align:center;
margin:auto;
height: auto;
width: 900px;
background-image:url(images/Middle.png);
background-repeat: repeat-y;
}
-->
</style>
<div id="contentmain">
<p>My Name is Matthew! </p>
</div>
Thanx please help! :o