boardtc
Programmer
- Dec 1, 2004
- 22
I am drawing text on an image in the top left corner. I want the code to be XHTML. The text shows fine but only a little bit of the image shows as opposed to the whole amount. I've experimented for ages with this and my current code is:
Any advice appreciated.
Code:
<table id="fullheighttable">
<tr><td class="photoHeight" align="left" valign="top" style="background-image: url(/images/mypix.jpg);">
<b>My text here</b>
</td></tr></table>
#fullheighttable {
border:0;
padding:0;
height:100%;
}
.photoHeight td {
width: 801;
height: 599;
}
Any advice appreciated.