Hi Martin, As I understand it, a class may be used throughout a given document. The #id selector, however, is targeted at one specific [HTML] element. later, gordon -----Original Message----- From: Martin Skjöldebrand <chimbis@bahnhof.se> To: www-style@w3.org <www-style@w3.org> Date: Saturday, May 09, 1998 11:31 AM Subject: Class and ID >I've been reading the book on Cascading Style Sheets by Lie and Bos. >Could someone please explain the difference between .class and #id, >and give an example of when one would like to use one instead of the >other? Perhaps I'm a bit thick but I don't really get the difference. > >Martin S. >-- >Martin Skjöldebrand >System administrator and archaeologist! >http://www.bahnhof.se/~chimbis/tocb/ > >Received on Saturday, 9 May 1998 14:40:09 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:55 GMT