View Full Version : adjusting the height of css tables
darkray16
27 Mar 2010, 12:10 PM
Hello,
I am trying to build a site using css tables(NOT html tables).
I am trying to adjust the height of the rows individually but I can't seem to modify the width or height of cells and rows. Anyone know how I can do that?
Wickham
27 Mar 2010, 12:46 PM
This shows the codes and standards:-
http://www.w3.org/TR/CSS2/tables.html
but if you can understand it you're better than I am.
I don't use CSS tables because I think older browsers won't process them.
The height of a 'table-row' element's box is calculated once the user agent has all the cells in the row available: it is the maximum of the row's specified 'height' and the minimum height (MIN) required by the cells. A 'height' value of 'auto' for a 'table-row' means the row height used for layout is MIN. MIN depends on cell box heights and cell box alignment (much like the calculation of a line box height). CSS 2.1 does not define how the height of table cells and table rows is calculated when their height is specified using percentage values. CSS 2.1 does not define the meaning of 'height' on row groups.
In CSS 2.1, the height of a cell box is the maximum of the table cell's 'height' property and the minimum height required by the content (MIN). A value of 'auto' for 'height' implies that the value MIN will be used for layout.
CSS 2.1 does not specify how cells that span more than one row affect row height calculations except that the sum of the row heights involved must be great enough to encompass the cell spanning the rows.
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.