Page 1 of 1

Fixed tables

Posted: Mon Mar 17, 2003 7:15 pm
by Xerpher
Is there a way to force a table size? I use stuff like <table width="200"> but if the contents inside it are larger it makes the table bigger... how can I stop that resizing?

Can't

Posted: Tue Mar 18, 2003 1:22 am
by andrewdavey
Sorry but there is no way to really do this in HTML! :cry: The width is only a suggested minimum size for the table.

Posted: Tue Mar 18, 2003 1:43 am
by Xerpher
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOO :cry:

Does anyone know of any alternatives?

Posted: Fri Apr 04, 2003 2:48 pm
by Oromian
I've always understood that if there is a set width for a table, then the table/cell cannot surpass this width. The content may go down more but it never will pass the width. The only variable in width that can alter it with a set ammount is when you are using something like width="80%".

reference: http://www.lissaexplains.com/table.shtml

Posted: Sat Apr 05, 2003 6:29 am
by *JaH*
Oromian wrote:I've always understood that if there is a set width for a table, then the table/cell cannot surpass this width. The content may go down more but it never will pass the width. The only variable in width that can alter it with a set ammount is when you are using something like width="80%".

reference: http://www.lissaexplains.com/table.shtml



that is only true if the contents of the cell can be cut in to pieces. If you for instance have
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW

a piece of text that can't be cut into pieces (cuz your browser will think that it's one word) it will stretch out the table.