#14 new
Jonathan Lee

CSS cascading overrides nested skins

Reported by Jonathan Lee | August 30th, 2010 @ 03:29 AM

Consider:

<div class="mod complex flow">
  <div class="mod complex photo">
   ... presentational stuff with the <b> tag
  </div>
</div>

The contending rules are

.flow b { background-image: url("skin/even.png"); }
.photo b { background-image: url("skin/photo.png"); }

Unfortunately, it seems like the .flow b takes priority, which is somewhat undesirable.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages