Or even the other way around perhaps? 

One use on a page :  ID
Multiple use      :  class

As I understand it, you can only have one selector labelled with any
particular ID on a page, but you can have as many selectors with the same
class as you like.     You can have dozens of selectors labelled with IDs
but not two with the same ID.  Yes?

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Brewnetty (AuntySpam)
Sent: Sunday, 14 March 2004 9:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [WSG] text and graphic on one line PROBLEM SOLVED!

This is the way I understand it:
When you want to use any style more than once, you use ID
When you want it to apply to one element only, you use class.
Is that too simplified?

AuntySpam, SLP Coordinator, pspug.org

http://www.pspug.org/edu/edu.shtml
http://www.pspug.org/edu/slp/assign.shtml
http://www.pspug.org/edu/slp/slpparticipants.htm
*****************************************************
The discussion list for http://webstandardsgroup.org/
***************************************************** 



*****************************************************
The discussion list for http://webstandardsgroup.org/
***************************************************** 

Reply via email to