how can i add a picture to the background of my tables rather than a colour (ie #33cc66), also i have very basic html knowledge so a simple an explanation as possible pls
thanks
Printable View
how can i add a picture to the background of my tables rather than a colour (ie #33cc66), also i have very basic html knowledge so a simple an explanation as possible pls
thanks
Like follows:
It's that simple.Code:<table background="picture.gif">
<!-- or -->
<td background="picture.gif">
:confused: :confused: :confused:, is that it, i'm kinda dissapointed i thought it would be harder, how do i set the height of the cell/row as well
Depends on what browser your using. For IE, you'd have to have something in the cell, a space would do, then just do:
Code:<td width="100" height="100"> </td>
FYI, a td background, surprise surprise, doesn't work in NS4, only a table background does.
I thought you said "screw NS4" in another thread...change your mind already? :eek:Quote:
Originally posted by filburt1
FYI, a td background, surprise surprise, doesn't work in NS4, only a table background does.
ok, just take a look @ this:Quote:
Originally posted by Paxthegreat
how can i add a picture to the background of my tables rather than a colour (ie #33cc66), also i have very basic html knowledge so a simple an explanation as possible pls
thanks
will display "image1.gif" behind all text in cell-1, and will tile itself when image is smaller than the cellThis however will spread the image throughout the entire table, and also tiles itself ....Code:<table>
<tr>
<td background="image1.gif">
Cell1
</td>
<td">
Cell2
</td>
</tr>
</table>
hope this is of some help :)Code:<table background="image1.gif">
<tr>
<td>
Cell1
</td>
<td">
Cell2
</td>
</tr>
</table>
unreal thanks, that worked gr8
Yeah...just like I said...:rolleyes:Quote:
Originally posted by ubunreal69
ok, just take a look @ this:
will display "image1.gif" behind all text in cell-1, and will tile itself when image is smaller than the cellThis however will spread the image throughout the entire table, and also tiles itself ....Code:<table>
<tr>
<td background="image1.gif">
Cell1
</td>
<td">
Cell2
</td>
</tr>
</table>
hope this is of some help :)Code:<table background="image1.gif">
<tr>
<td>
Cell1
</td>
<td">
Cell2
</td>
</tr>
</table>
yeh, but i went into a bit more detail :p "Paxthegreat" doesnt seem like he knows much HTML and if i can remember when i was like that i couldnt remember how to do tables correctly unless i was looking @ the code. :p:p:p:p:p:p:p:p:pQuote:
Originally posted by The Hobo
Yeah...just like I said...:rolleyes: