- Jun 29, 2001
- 4,867
- 1
- 0
I'm having some troubles with my style sheet. I've created some sample code, so hopefully it should be self-explanatory.
For usability reasons, I don't want to define a class for the anchor inside the h1. Users will be editing this section using Dreamweaver templates so I want to minimize what they can screw up.
I think I know why this doesn't work and it's because classes take precedence over elements, regardless of proximity. If I used those terms wrong, I apologize.
Is there a way to get around this just by editing the styles?
For usability reasons, I don't want to define a class for the anchor inside the h1. Users will be editing this section using Dreamweaver templates so I want to minimize what they can screw up.
I think I know why this doesn't work and it's because classes take precedence over elements, regardless of proximity. If I used those terms wrong, I apologize.
Is there a way to get around this just by editing the styles?