View Single Post
  #2 (permalink)  
Old Apr 14th, 2008, 11:44
unitedcraig's Avatar
unitedcraig unitedcraig is offline
SuperMember

SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 17
Posts: 825
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: validation error

id is used for one type of thing, for example
HTML: Select all
<div id="wrapper">Content</div>
if you are defining the same tag in different ways then you use class

for example your navigation might be

HTML: Select all
<ul class="navigation>
</ul>
and you submenu might also be an <ul> tag, but this time it is

HTML: Select all
<ul class="sub-menu>
</ul>
Hope this isn't too confusing

Craig
__________________
Reply With Quote