Fixed tables
Moderators: egami, macek, gesf
-
- New php-forum User
- Posts: 16
- Joined: Wed Feb 12, 2003 5:27 am
- Location: Cornwall, England
Sorry but there is no way to really do this in HTML! :cry: The width is only a suggested minimum size for the table.
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
reference: http://www.lissaexplains.com/table.shtml
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.