Log in

View Full Version : Possible to fix the size of table?



tottijohn
05-18-2007, 02:29 AM
I'm not just talking about setting the width and height of the table, but rather is there a way to fix the width and height so that no matter what text is entered in it, it will still remain at the specified size?
It's ok if the text is cut off, i need to keep the integrity of the page.

2nd question, anyway to set a maxlength no. of words in a column?

Thanks

p/s: I got it now, the solution is to use <div overflow: hidden>.

boogyman
05-18-2007, 12:27 PM
in all standards compliant browsers, you can use max-width, max-height and property.

you shouldn't use overflow: hidden? you can specify the maximum's but if there is more content, you should have it scroll ? maybe?