Wednesday, November 21, 2012

Background image in html table

Adding a backguond image in table is very easy . Here is the html code . The code contains html code to show image as background image .
Example Image



table has a background image
table has a background image
table has a background image
table has a background image
table has a background image
---------------------------
Code for this tricks :

<table background="http://www.edu-smart.info/bmsc/wp-content/uploads/2012/11/training_back2.jpg" border="0" cellpadding="1" cellspacing="1" style="height: 171px; width: 248px;">
 <tbody>
<tr>
   <td style="text-align: center;"><span style="color: white;"><b> table has a background image</b></span><br />
<span style="color: white;"><b> table has a background image</b></span><br />
<span style="color: white;"><b>table has a background image</b></span><br />
<span style="color: white;"><b>table has a background image</b></span><br />
<span style="color: white;"><b> table has a background image</b></span></td>
  </tr>
</tbody>
</table>

No comments:

Post a Comment