You don't put them both on the body, you 'stack' the divs - like this:
body{background: url(diagonalbg.gif); (this will repeat the background across and down)
#container{background: url(gradientbg.gif) repeat-x;
Then in your html you'd have something like this:
<body>
<div id="contaiiner">
<div id="wrapper">
the rest of your site layout goes in here
</div><!-- end wrapper -->
</div><!-- end container -->
</body>
-The diagonal bg will show first, the bottom 'layer' if you will.
-The container with the gradient will be on the next 'layer' above it. You can even position where the gradient starts if you don't want it at the very top.
- The "wrapper" holds the rest of your site layout, on the next 'layer' above container, and you can put a background on that too if you choose.
The secret to getting a diagonal strip to tile properly is in the creation of the graphic 
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
Please login or register to view this content. Registration is FREE
Please login or register to view this content. Registration is FREE
|