General discussion
-
Topic
-
HTML Table & ASP
LockedHTML & ASP
I have quite some nested tables, but for this problem an example with just one table should work too.I have a fixed-width table with 2 cells. The second cell contains the date in a format like “Wednesdag, June 28, 2000” so with the day and month written out. The first cell should widen to fill the space not used by the date-cell. This first cell is used to place a line in front of the date (using a background-image). Unfortunately, this doesn’t work. The first cell becomes just one pixel width (the size of the transparant picture inside it). What I would like to know is:
1) Is there a way in HTML to tell MSIE (and NS etc) to widen the first cell instead of the second one; if so: how?
or
2) Could this be done using a calculation of the width of the date-string in ASP and again, if so: how?
The first solution has my preference…
TIA,
Fred