I need help on this css content box
I want the content2.png to extend as long as the data on the table goes but I dont know how...
the content of the table is dynamic and would vary through the mysql data
It retiles whenever the text is long
and shows half of the picture if the text is short
Here is the code:
<html>
<head><style>
*{
margin:0;
padding:0;
}
body{
font-size:0.825em;
color:#666;
font-family:Arial, Helvetica, sans-serif;
}
.content{
width:900px;
float:left;
margin:10px;
margin-left:80px;
padding:50px;
color:#000;
background-image:url(/root-directory/images/content2.png);
/* CSS3 rounded corners */
-moz-border-radius:12px;
-webkit-border-radius:12px;
border-radius:12px;
}
</style>
</head>
<body><table class="content">
<tr><td>
Text Here...
</td>
</tr>
</table>
</body>
</html>