CSS
Cascading Style Sheet
The example below shows the background Image property in action.
Example
<html>
<head>
<title>Skillpundit</title>
<style type="text/css"> .img
{
background-image: url("images/bg-img.jpg");
padding-left: 0px 10px 0px 10px;
} </style> </head> <body>
<table border="1" cellpadding="0" cellspacing="0" width="300" style="border:1px solid #FF3300;"> <tr> <td width="300" class="img" height="159"> <h3> A Competitive human is always a Winner </h3> <p align="justify">The idea of competition, particularly in a creative atmosphere, is always there; if you don't acknowledge that, you are doing your self and the process a disservice. </p> </td> </tr> </table> </body> </html>
<head>
<title>Skillpundit</title>
<style type="text/css"> .img
{
background-image: url("images/bg-img.jpg");
padding-left: 0px 10px 0px 10px;
} </style> </head> <body>
<table border="1" cellpadding="0" cellspacing="0" width="300" style="border:1px solid #FF3300;"> <tr> <td width="300" class="img" height="159"> <h3> A Competitive human is always a Winner </h3> <p align="justify">The idea of competition, particularly in a creative atmosphere, is always there; if you don't acknowledge that, you are doing your self and the process a disservice. </p> </td> </tr> </table> </body> </html>
Output
Click for Download Image Images Zip