Keep in mind that you can't have id or class attributes on the HTML
element (not in xhtml, nor html4). Apply them to the BODY instead.

Patrick
________________________________
Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk

> -----Original Message-----
> From: Mordechai Peller [mailto:[EMAIL PROTECTED]
> Sent: 09 July 2004 08:55
> To: [EMAIL PROTECTED]
> Subject: [WSG] id or class on html or body
> 
> 
> Putting an id or class on the html or body tags is a useful way of 
> targeting slight variations in style rules with resorting to a second 
> style sheet.
> 
> I remember seeing a discussion of the pros and cons, but I can't 
> remember where. Does anybody have a link? Or perhaps the 
> discussion can 
> begin anew.
> 
> Thanks.
> *****************************************************
> The discussion list for http://webstandardsgroup.org/
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
> ***************************************************** 
> 
> 
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************

Reply via email to