Strange Pb of selector CSS....

edited January 10 in Style Development [?]

On this page:
userstyles.org Discuss features and bugs of userstyles.org
This selector not match:
#vanilla_categories_index.Vanilla.Categories.index.Discussions.Category-userstyles.org.Section-Category-userstyles.org.Section-DiscussionList .BreadcrumbsWrapper + #Panel.Column.PanelColumn + #Content.Column.ContentColumn
And these fail too:
.Category-userstyles.org
.Category-userstyles
But this one is OK:
#vanilla_categories_index.Vanilla.Categories.index.Discussions.Section-DiscussionList .BreadcrumbsWrapper + #Panel.Column.PanelColumn + #Content.Column.ContentColumn

Why ?

Comments

  • edited January 10 [?]
    If a selector contains a period which is an actual period, it needs to be escaped. Otherwise it will be interpreted as a separate class.

    .Category-userstyles\.org
  • edited January 10 [?]

    I tried that but maybe i make a false typing...
    Anyway thanks!

Sign In or Register to comment.