Fixed tables

A

Anonymous

Guest
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?
 
Sorry but there is no way to really do this in HTML! :cry: The width is only a suggested minimum size for the table.
 
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOO :cry:

Does anyone know of any alternatives?
 
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
 
Oromian said:
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.
 
Back
Top