div id Vs. div class  | 
	 
	 
For a list of all requirements and guidelines pertaining to posting a new Help topic, please click here.
This Month's Contests | Staff Member of the Month | Hosts Looking for Hostees | Hostees looking for Hosts | BigBookofResources
Submission Guidelines
div id Vs. div class  | 
	 
	 
			
			  Sep 23 2010, 11:19 PM
			
				 Post
					#1
					
				
			 
		 | 
	|
        	
				
					![]() Sex, Blood, & RocknRoll ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: People Staff Posts: 5,305 Joined: Nov 2007 Member No: 596,480  | 
       
			
			 
				When is it proper to use a id verses a class? and the other way around? 
			
			
					
		It's been ages since I have looked at any kind of code so help a n00b out?  | 
	
| 
			
			 | 
	|
![]()  | 
	
			
			  Sep 24 2010, 04:02 PM
			
				 Post
					#2
					
				
			 
		 | 
	|
        	
				
					![]() /人◕‿‿◕人\ ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,283 Joined: Dec 2007 Member No: 602,927  | 
       
			
			 
				I had no idea that there was actually a proper time to use an ID vs a class.
				
				
				
			 
			
			
					
		 | 
	
| 
			
			 | 
	|
 spambot   div id Vs. div class   Sep 23 2010, 11:19 PM
 
 mipadi   IDs are supposed to be unique per-page. You use an...   Sep 24 2010, 01:32 AM![]() ![]()  |