Re: Is this legal XHTML 1.1?

At 9:09 PM +0100 12/8/02, Christian Wolfgang Hujer wrote:

>By the way, I'm curious, what the width and language attribute for? What
>browsers require them?

The language attribute is to make sure that all browsers recognize 
the script as JavaScript, including older browsers that don't pick up 
on type=""text/javascript"

The width attribute is just to set the width of a table column, again 
for older browsers that don't recognize CSS.

Mozilla does seem to be falling back to the old definition of the 
width attribute for the td element, despite this page being served as 
application/xhtml+xml. However, if a CSS width style is present that 
appears to override the manually speciifed width.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          XML in a  Nutshell, 2nd Edition (O'Reilly, 2002)          |
|              http://www.cafeconleche.org/books/xian2/              |
|  http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/  |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+

Received on Sunday, 8 December 2002 16:10:28 UTC