2009/10/30 Ed Goodson <[email protected]>:

> I have the same name for different deivs whihc works

… up until the point where you start using getElementById or linking
to the element.

> What is the way around this without having to call my divs
> different names?

Use classes when you want to represent a group of similar elements.
Leave IDs for specific elements.

-- 
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to