|
I'm trying to use something like this in my CSS, to make 4/5 of the page a gradient and the other half white (for the text) below.
The CSS:
html, body {height:100%)
body {
background: #FFFFFF url(gradient.jpg) repeat-x;
text-align: justify;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 12px;
color: #666666;
}
#bottom {
position: fixed;
border-top: 5 px solid yellow;
margin-top: 400px;
height: 20%;
background-color: white;
z-index:1;
}
HTML:
<html>
<head>
<link REL=StyleSheet HREF="styles.css" TYPE="text/css" MEDIA=screen>
<body>
<div id="bottom"></div>
</body>
</head>
</html>
Is there an easier way to accomplish this? I didn't think it would be quite this hard.
|