-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Fabian Lange wrote:
I know that my question doesnt aim 100% at this group, but at least here are people that care for cross browser behaviour.
Spoofing subject doesn't help (quite the opposite). :-/
Is there a guaranteed behaviour for elements having multiple classes?
Yes, there is, the "C" in "CSS": "cascading". Read some CSS tutorial, any CSS tutorial, there should be special chapters about this (cascading, selector specificity, etc). For instance, the CSS spec: http://www.w3.org/TR/CSS21/cascade.html As for "cross browser" (seeing Thomas' reply), keep in mind that Internet Explorer (until version 7) has trouble dealing with declarations like ".foo.bar" (it will treat them like ".bar" (the _last_ "class"). - -- Marius Feraru -----BEGIN PGP SIGNATURE----- iD8DBQFFol5jtZHp/AYZiNkRAlZjAKDtieAGd/AwTQ8CtEZsyPGYJdwO+ACg9oCx YQv9kKjc5wEPhEkbtmpjLWc= =87Jz -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
