On Wed, Feb 18, 2009 at 8:38 AM, bill walton <[email protected]> wrote:
> We've got three 'identifiers' to work with: id, name, and class. CSS > uses id and class. Javascript uses id and name. So, to keep the issues > as separate as possible, I try to avoid using id for CSS. Huh?? JavaScript offers various ways to access elements of the DOM, and 'class' is certainly one of them. Can you be more specific about what "issues" you're trying to "keep separate"? And if you have *one* of an element that needs styling, why not use an ID to target your CSS? -- Hassan Schroeder ------------------------ [email protected] --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

