Click to See Complete Forum and Search --> : Variable row height in tables


dprbell
02-17-2005, 06:25 AM
I have table rows which need to be of variable height depending on their (dynamic) content and I want the border graphic, in the first cell of each row, to stretch to accomodate that. How should I properly define the "height" parameter of <td> and of <img> tags to achieve that consistently in all browsers?

e.g. <td height="100%"><img src="Border_Left.gif" height="100%"></td>

- seems to work differently in different browsers ... ?

Help much appreciated, it's a small glitch but an annoying one!

ray326
02-17-2005, 10:15 AM
Instead of an img, try making the border graphic a background that is large enough to accommodate that tallest possible row height.

dprbell
02-17-2005, 11:32 AM
Cheers! that's much neater.