Hi James
My HTML is a dynamic one. I will get the values for cells only during the run time. Hence, if I use the above method, I would have to change the height and width of the image according to the size of that cell. So, I don't think your suggestions will work for me. Any way, thanks for your comment. If you find any solution kindly help me.
Thanks
Srik
Main Topics
Browse All Topics





by: JeexPosted on 2003-09-29 at 01:48:23ID: 9449919
Hi,
if" width="100%" height="100%" alt="" /></td>
You can't stretch a background image, however you can stretch a standard img (not valid XHTML), as below:
<table width="100%" height="100%">
<tr>
<td><img src="valid-xhtml10_small.g
</tr>
</table>
You could then use CSS positioning to position a DIV containing some content over the top of that image, as below:
<div style="position: absolute; top: 0px; left: 0px; width: 100%;">Some text...</div>
Hope that helps!
-- James