Click to See Complete Forum and Search --> : fixed width cell


stefan_ieu
01-29-2003, 09:25 AM
Can I create a fixed dimension cell in a table? I want to dsplay a long word in a cell, but if the word is longer than the space available, I want the cell to keep it's dimension .
Can somebody give me a hint?

Stefan

Stefan
01-29-2003, 11:16 AM
Originally posted by stefan_ieu
Can I create a fixed dimension cell in a table? I want to dsplay a long word in a cell, but if the word is longer than the space available, I want the cell to keep it's dimension .
Can somebody give me a hint?

Stefan

Table structures are SPECIFICALLY supposed to IGNORE any size constriction you try to place on it if it would make the content not fit in it.

That is one of the many reasons your should NOT abuse <table> for general page layout.

Design your page layout using CSS instead and you can set hard limits to objects widths (and even add individual scrollbars if it makes things not fit).