View Single Post
Old 10-29-2007   #7 (permalink)
Gjbphp
PHP Lover
 
Join Date: May 2007
Location: Zug, Switzerland
Posts: 91

An ID is a unique identifier, like a social security number or so, where as a class can be used by any element on a page. You can also set styles by id. For example, your element id is "my_id". You could do a css such as
Code:
#my_id{font-weight:bold;}
__________________
You can call me Greg
Gjbphp is offline