On 2/18/02, Andrew Scott penned: >Are you on drugs or something these are all valid options...
Maybe, but what's that got to do with anything. :) > >Example 1: This is perfectly normal, try <div align="center">Test</div> >anything between these tags will be centered. Yes, of course. And a table between the tags should be centered. But a TD inside that table should not take on the properties of the DIV tag. > >Example 2: The table should take on the properties of the cell, the same >if it was just text you would expect that to be centered as well. The text should take on the properties of the cell it's in. Not the cell that the table is nested in. It's been this way since there were tables. The worst part is, I've had different people tell me different things. For some both cells align left, as they should. For others the top one aligns left and the bottom aligns right, as it does for me. That's wrong. For Kevin, as he said: I've got IE6 and Example 1 does center, but example 2 aligns left. That is also wrong. Both blocks of text are in a TD with no properties. They should both align left. The table should center, but not the text in the cell. Here is the RFC from w3c.org. align = left|center|right|justify|char This attribute specifies the alignment of data and the justification of text in a cell. Possible values: left: Left-flush data/Left-justify text. This is the default value for table data. center: Center data/Center-justify text. This is the default value for table headers. right: Right-flush data/Right-justify text. justify: Double-justify text. char: Align text around a specific character. If a user agent doesn't support character alignment, behavior in the presence of this value is unspecified. -- Bud Schneehagen - Tropical Web Creations _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ ColdFusion Solutions / eCommerce Development [EMAIL PROTECTED] http://www.twcreations.com/ ______________________________________________________________________ Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

