hwg-techniques archives | Sep 2001 | new search | results | previous | next |
Re: ID vs CLASS?by Charles A Upsdell <cupsdell(at)upsdell.com> |
|
An ID must be unique on a page, so only one element on a page can use the style defined for an ID. At 08:03 PM 09/28/01, you wrote: >Does anyone here know of an explanation of when/why to use CLASS vs ID for >assigning styles to an element? Is there a difference in the types of >attributes that can be applied using each approach? - Chuck Upsdell Email: cupsdell(at)upsdell.com Website: http://www.upsdell.com/
HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA