Forum Moderators: not2easy
There's one job I just can't figure out how to do without using tables, and that's creating a vertical line that runs the full length of a section. Layout tables are so accommodating here. Using bgcolor in a table cell I can create a vertical line that stretches or compresses with the layout, no matter whether the viewer overrides my font settings or not.
I can't figure out similarly flexible and accomodating method using only CSS and no layout tables. Right now I just create the layout so it looks good with my font choices, but I know it degrades fast.
The need for a flexible vertical line comes up often enough that I'd like to find a method that avoids tables. Is there one?
Yes, but it's that "whatever" that confounds me. How do I say "draw it until the div content stops"?
So far, all I can come up with is very convoluted JavaScript (separate code for NN4 and MSIE5 and nothing works so far in NN6) to read the rendered height of the div.
If that's the best answer, I'll stick with tables for this job.