I cannot just have one background image, i need a left background image and a right background image.
This needs to be scalable for different resolutions, so the amount of background on the left(fading to the left) or background on the right(fading to the right) needs to be able to expand and collapes.
Main Topics
Browse All Topics





by: GrandSchtroumpfPosted on 2006-01-24 at 14:04:09ID: 15780924
Use the following code and have "background.gif" be an image that has a 780px white part in the center and the green gradients on the sides (then remove the 1px red border defined in the CSS).
images/bac kground.gi f) top center repeat-y;
Here is the code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>testing divs...</title>
<style type="text/css">
body {
margin: 0;
font: normal small-caps 10pt Verdana;
background: url(http://www.taxcut.com/
}
#content-container {
width:780px;
margin: 0 auto;
border: 1px solid red;
}
</style>
</head>
<body>
<div id="content-container">
content
</div>
</body>
</html>