The_Rain_King Posted March 29, 2003 Share Posted March 29, 2003 I have spent the past two hours trying to get this to work with no success, but no such luck. I have a table in html with no specified height. I want it to be as long as the text content. I have an image in the cell beside it (it can't be tiled) that i want to be stretched to the height of this table. Using javascript can't i reference the height of the table. i mean once it's generated the browser knows how tall it is. I was hoping to specify it somthing like this: <table name="aaa"><tr> <td> <img src="whatever.jpg" width="12" height="java script:document.all.aaa.height"></td> <td> (text of some length) </td> </tr> </table> can someone please help me out here? thanks in advance. Link to comment Share on other sites More sharing options...
Question
The_Rain_King
I have spent the past two hours trying to get this to work with no success, but no such luck.
I have a table in html with no specified height. I want it to be as long as the text content.
I have an image in the cell beside it (it can't be tiled) that i want to be stretched to the height of this table.
Using javascript can't i reference the height of the table. i mean once it's generated the browser knows how tall it is.
I was hoping to specify it somthing like this:
<table name="aaa"><tr>
<td>
<img src="whatever.jpg" width="12" height="java script:document.all.aaa.height"></td>
<td>
(text of some length)
</td>
</tr>
</table>
can someone please help me out here?
thanks in advance.
Link to comment
Share on other sites
0 answers to this question
Recommended Posts