[web] html help
How do I make a table appear over an image rather then the image being the background of the cells.
Simple. Attach the background image to the table tag instead of the cells :-)
<table style="background-image: url('image.png');">
<tr>
...
</tr>
</table>
<table style="background-image: url('image.png');">
<tr>
...
</tr>
</table>
I know how to make the table I just dont know how to get the image behind it. That didnt work.
Also make sure you don'ty set any backgrounds (not even colors) on the rows and cells (or the table itself, if you try Mattman's code). They should be transparent so the background image shines through.
<table border="3" align="center">
<tr>
<td>Main</td>
<td>Forums</td>
<td>Contact Us</td>
<td>Links</td>
</tr>
</table>
That is the info for the table the image is at this link http://comicdev.atomictiger.net/LinkBar.gif if you could make that work and post it that would be a great help. I can't figure it out lol. I'm probably doing somthing stupid but I can play noob card lol.
<tr>
<td>Main</td>
<td>Forums</td>
<td>Contact Us</td>
<td>Links</td>
</tr>
</table>
That is the info for the table the image is at this link http://comicdev.atomictiger.net/LinkBar.gif if you could make that work and post it that would be a great help. I can't figure it out lol. I'm probably doing somthing stupid but I can play noob card lol.
<table width="980" border="0" align="center" cellpadding="0" cellspacing="0"> <tr background="http://comicdev.atomictiger.net/LinkBar.gif"> <td height="40" align="center">Main</td> <td align="center">Forums</td> <td align="center">Contact Us</td> <td align="center">Links</td> </tr></table>
Quote:I'm probably doing somthing stupid but I can play noob card lol.
Or you could do this next time.
[Edited by - Xipe on November 30, 2005 6:59:15 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement