After a LOT of mucking around, I finally got it perfect and fixed
Here is the code:
Code:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" lang="en-US" content="text/html;charset=UTF-8" />
<meta http-equiv="Content-Script-Type" lang="en-US" content="text/javascript" />
<meta http-equiv="Content-Style-Type" lang="en-US" content="text/css" />
<meta http-equiv="Content-Language" lang="en-US" content="en-US" />
<title>My Test Gradient Page</title>
<style type="text/css">
body{background:url(gradient.png) repeat-x rgb(200,200,200);padding:0 0 0 0;margin:0 0 0 0;color:black}
#gradient{background: url(bottomgradient.png) repeat-x bottom}
#topleft,#topright,#bottomleft,#bottomright{width:50px;height:50px}
.test{padding: 0px 0px 0px 0px;margin: 0px 0px 0px 0px}
.inner{background-color:white;width:900px;margin:60px 0 0 0;text-align:left;z-index:10000;color:black}
.temp{margin:0px 0px 50px 0px}
#topleft{background-image:url(topleft.png)}
#bottomleft{background-image:url(bottomleft.png);float:left}
#topright{background-image:url(topright.png);float:right;margin-top:-50px}
#bottomright{background-image:url(bottomright.png);float:right}
#bottomspace{background:url(bottomgradient.png) repeat-x bottom;height:60px;width:100%;margin: 0px 0px -25px 0px}/*-25px for bottom margin because for some odd reason a white or gray bar appears at the bottom in non-Mozilla browsers*/
div{margin:0 0 0 0;padding:0 0 0 0}
</style>
</head>
<body>
<center>
<div id="gradient">
<div class="inner">
<p id="topleft" class="test">
 
</p>
<p id="topright" class="test">
 
</p>
<p class="temp">
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
<span id="bottomleft" class="test">
 
</span>
<span id="bottomright" class="test">
 
</span>
<div id="bottomspace">
 
</div>
</p>
</div>
</div>
</center>
</body>
</html>
Bookmarks