|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Table borders
I have a question regarding table borders that doesn't seem to be addressed by either the XSL WD or CSS2. To simplify the problem, consider a table that consists of a single column in a single row (i.e., one cell), and that the overall table dimensions are 1 inch square. Furthermore, consider that the table has zero margins and padding, and a border width of 0.5 inch (big fat borders). Thus, the content rectangle within the table is 0.5 inch square. (Here, I'm assuming the CSS2 collapsing-border model, where the borders are centered on the table grid.) Now consider that the lone cell within the table has its various border-XXX-style properties all set to "none." A literal reading of 5.4.8.1 suggests then that the borders of the cell should be interpreted as being of zero width. This is a problem, of course, since if that were the case, any text contained within the cell would likely overlap the wide table border. Instead, it seems to me that "none" should imply that the cell "inherits" its border from its container (column, row, etc.). A similar problem arises if the cell does specify a border width, but that border width is smaller than that of the table's borders. The conflict resolution mechanism specified in CSS2 17.6.2 does not directly address this issue. Comments? -Steve XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








