Phlip wrote:
> You should generally get in the habit of uniquifying all HTML IDs. This 
> is
> partly because it's The Law (y'heah, right!), and partly so when you 
> actually
> need them
Well maybe it's not "The Law" as you say, but it certainly is illegal 
within the context of the standard. Pages with duplicate id attributes 
will not validate:

Excerpt from the W3C HTML 4.01 documentation:
---------------------------------------------
id = name [CS]
This attribute assigns a name to an element. This name must be unique in 
a document.
---------------------------------------------

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to