jawolter (AT) gmail (DOT) com wrote:
Quote:
I have a div that uses the
overflow:hidden;text-overflow:eillipsis;white-space:nowrap css tags. |
I'm not surely whether this is a good idea even in a situation where the
nonstandard text-overflow property is supported by a browser. It is not
crystal clear to users what's going on.
Quote:
Due to previous (poor) design decisions, these lines of text must be in
a table cell. My idea was if the table cell was 35% of the page and I
could put a div inside it and fiddle with the div's width and
everything would work. |
When using the technique inside a cell, you need
table-layout: fixed
for the table, in addition to setting widths for cells. (Without it, the
width settings are just suggested minimum widths.)
--
Yucca,
http://www.cs.tut.fi/~jkorpela/