ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

CSS Specificity

May 06, 2010 12:20pm

Subscribe [2]
  • #1 / May 06, 2010 12:20pm

    Rene Ruiz

    13 posts

    I have two selectors that are frustrating me.

    One is div#article ul and the other is div#article ul#photo-album.

    The first one has a list-style-type property. And in the second one, I have it set to none.

    Yet, it is still showing up. Based on the point system, shouldn’t the second one take precedence?

  • #2 / May 06, 2010 12:28pm

    ender

    1644 posts

    did you re-minimize your CSS after saving?  the div#article ul#photo-album rule is not present in this stylesheet: http://conference.thoracic.org/assets/css/mini/estilo-minified.css

  • #3 / May 06, 2010 12:32pm

    Rene Ruiz

    13 posts

    *forehead slap*

    Thanks ender.

  • #4 / May 06, 2010 12:41pm

    smartpill

    456 posts

    You’re also missing a bunch of closing tags on the page which isn’t going to help.

  • #5 / May 06, 2010 12:42pm

    Rene Ruiz

    13 posts

    They’re in the template. They’re just not rendering for some reason. Weird.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases