several roles of "id" option

Rob Kaper cap at capsi.com
Sat Mar 22 21:24:18 UTC 2003


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

On Saturday March 22 2003 7:29 pm, Matthias Meßmer wrote:
> The style sheets define some individual styles, for instance
> "contentheader". i tried to use it with the "id" option in some table
> heders, eg.
>
> ...
> <th id="contentheader">foo</th>
> ...
>
> Now the W3C Validator[1] lists this as error, cause it probably
> interpretates the "id" option as anchor[2].
>
> Shall i ignore the W3C Validators output or is there a way to solve the
> problem, e.g. define idividual styles ind the scheets that can be used with
> the "class" option?

Use "class" indeed, id is supposed to be unique.

Rob
- -- 
Rob Kaper     | "They that can give up essential liberty to obtain a little
cap at capsi.com | temporary safety deserve neither liberty nor safety."
www.capsi.com | - Benjamin Franklin, Historical Review of Pennsylvania, 1759
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+fNSCtppIl2G1SjcRAjs4AJ97pLHS0lMJX/oFpqOiqAu13RccaACfQYwu
TLsZGDyMbdVqoGWgI8WUZlg=
=oCr0
-----END PGP SIGNATURE-----



More information about the kde-www mailing list