View Full Version : Background Help


veronica85
02-08-2006, 03:43 PM
Ok well I wanna know the code for having more then one background on your site like 3-5 backgrounds like you see people using in there websets could someone please help?

Wermaus
02-08-2006, 05:52 PM
Hi!

You can set backgrounds for div-elements or headlines.
Look at the css-section :)

Annlander
02-09-2006, 05:48 PM
Are you talking about something like this (http://dossen.com/layers.html)?

If so, here's a code you can try... <table
style="width: 100%; text-align: left; margin-left: auto; margin-right: auto;"
border="3" cellpadding="25" cellspacing="0" BACKGROUND="layer1.gif">
<tr>
<td>
<table
style="width: 100%; text-align: left; margin-left: auto; margin-right: auto;"
border="3" cellpadding="25" cellspacing="0" BACKGROUND="layer2.gif">
<tr>
<td>
<table
style="width: 100%; text-align: left; margin-left: auto; margin-right: auto;"
border="3" cellpadding="25" cellspacing="0" BACKGROUND="layer3.gif">
<tr>
<td>CONTENT</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>

Remember you can give your page a background image too, which will be yet another "layer" :) And if you fiddle with the table attributes, you can get different looks.

It's just nesting tables.