Re: Strict Not so strict.

Thanks for your speedy reply.

I'll be honest that having presentational markup allowed for one element
and not others seems kinda odd. If this is the way it is... that is fine, but why
is only for certain things. I can set width for my table but not me td or th within
the table? I am allowed some presentational markup in my td though because I am
allowed to use align, but width comes up as an error. That doesn't make a lot of
sense to me. Is there a reason for it?


~Jamey



----- Original Message -----
From: "Thanasis Kinias" <tkinias@optimalco.com>
To: "Jamey Weare" <jamey.weare@santafe.cc.fl.us>
Cc: <www-validator@w3.org>
Sent: Thursday, May 23, 2002 1:16 PM
Subject: Re: Strict Not so strict.


scripsit Jamey Weare:
>
>    I was demonstrating to my students the validator for
>    strict XHTML today and found it to not be so strict.
>    It allowed align, valign, border, and width attributes.

The Strict DTD [1] gives, for example:

# <!ATTLIST table
#   %attrs;
#   summary     %Text;         #IMPLIED
#   width       %Length;       #IMPLIED
#   border      %Pixels;       #IMPLIED
#   frame       %TFrame;       #IMPLIED
#   rules       %TRules;       #IMPLIED
#   cellspacing %Length;       #IMPLIED
#   cellpadding %Length;       #IMPLIED
#   >

Tables are an exception to the elimination of presentational markup in
Strict.

>    I was under the understanding that all of those attributes
>    were deprecated. I seem to remember these being found
>    as errors in the past. Is there a bug or is it now allowed?

On <img>, for example, `border' is disallowed.  See [2].

1. http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd
2.
http://validator.w3.org/check?uri=http%3A%2F%2F68.2.212.230%3A8000%2Ftest.html&charset=%28detect+automatically%29&doctype=Inline

--
Thanasis Kinias
Web Developer, Information Technology
Graduate Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.

Ash nazg durbatulūk, ash nazg gimbatul,
Ash nazg thrakatulūk agh burzum-ishi krimpatul

Received on Thursday, 23 May 2002 13:31:58 UTC