[thelist] Aligning a table with CSS?

Nick Wilson nick at explodingnet.com
Thu Feb 21 04:59:01 CST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


* and then Sergey 'the Eych' Smirnov declared....
> But according to HTML 4.0 and 4.01 specification there is no such
> attribute as "align" for a table (and i didn't even notice that it is
> deprecated - it just doesn't exist, and at the same time it works).

No, according to my O'Reilly here it is just deprecated.

> So general recommendation from W3C is to use CSS for formatting
> everywhere, but i just can't figure out the way i can align tables
> (once again, not the contents!) with CSS. "text-align" is a completely
> different thing, as far as i understand.

I think this came up the other day on another list and I'm pretty damn
sure you /do/ use the text-align CSS jobbie for this. Try it and
validate the CSS?
- --
- -----------------------------------------------------------
 www.explodingnet.com   |    Projects, Forums and
                        +    Articles for website owners
- -- Nick Wilson --     |    and designers.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8dNKOHpvrrTa6L5oRAiXmAJ9IqatyZ5tbwsKm7g9olvf8WZ8eDACePQZI
K5LpdzAQPi70FafwogddNcs=
=N6NQ
-----END PGP SIGNATURE-----



More information about the thelist mailing list