Women in Technology

Hear us Roar



Article:
  Improving JSF by Dumping JSP
Subject:   ... and CSS
Date:   2004-06-10 13:32:50
From:   denka
Response to: ... and CSS

use of "class" attribute is discouraged by W3C, so it's a big deal. Workaround can be thought of: id="checkbox myComponentId" might work as well
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • ... and CSS
    2004-06-14 15:06:52  jt2190 [View]

    I did a double take when I read the post above, so just to clarify, this is what the W3C said about using class and ids:

    By using the ID attribute as selector, one can set style properties on a per-element basis. While style sheets have been designed to augment document structure, this feature will allow authors to create documents that present well on the canvas without taking advantage of the structural elements of HTML. This use of style sheets is discouraged.

    Original here: .