| Article: |
Improving JSF by Dumping JSP | |
| Subject: | ... and CSS | |
| Date: | 2004-06-10 10:06:35 | |
| From: | bergsten | |
|
Response to: ... and CSS
|
||
|
I'm sure this is a hot potato, but the HTML elements the JSF components render already sets the "id" attribute, so this issue isn't specific to the custom ViewHandler described in the article.
|
||
Showing messages 1 through 3 of 3.
-
... and CSS
2004-06-10 13:32:50 denka [View]
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 -
... 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: . -
... and CSS
2004-06-14 15:08:16 jt2190 [View]
Er, the orignal is HERE:
ID as selector


