Click to See Complete Forum and Search --> : Problem with a table...


tbo147
07-08-2006, 01:01 AM
I use Dreamweaver 8 for my webpage i am working on, and the tutorial i am using calls for the table to have its own background, and thats where the problem lies, my version doesnt support this feature and i dont know which verison does.... i cant afford to download several since my computer is slow already. So i am asking if there is anyways i cna use HTML or if any some other Web language to code this into doing that i please.

i had gotten smoething like this...

To put an image as a table background:

<table background="http://www.noobsite.com/background_image.jpg">
<tr>
<td>This is my stinky table</td>
</tr>
</table>

http://www.bluesfear.com/tutorials/slicing.php

NogDog
07-08-2006, 01:27 AM
You should use CSS for visual elements such as backgrounds. To use CSS in-line (within the actual table tag), do something like this:

<table style="background-color: #336699;background-image: url(background_image.jpg)">

For more info on CSS: http://www.htmldog.com/guides/cssbeginner/
For why using tables for layout is not a good thing: http://www.hotdesign.com/seybold/