ISSUE-625: Provide way for user stylesheet to override specificity rules


Provide way for user stylesheet to override specificity rules

Raised by:
James Nurthen
Opened on:
CSS Cascading and Inheritance needs to provide a method to override the specificity rules to allow a user specified style to override author specified styles.

Take for example the following scenario. The user requires all text to have increased line spacing so they want to set
* {line-height: 2;!important} in their user CSS.

This works fine until the author has specified something like

UL LI {line-height: 1.1;} in the author CSS which, due to the higher specificity will override the user stylesheet despite the !important.

Those users who require more line spacing (or other requirements) need a method to be able to specify this in their user stylesheet and have this apply across all sites.
Related Actions Items:
No related actions
Related emails:
No related emails

Related notes:

Migrated to

Michael Cooper, 20 Apr 2017, 16:06:26

Display change log ATOM feed

Janina Sajka <>, Matthew Atkinson <>, Chairs, Ruoxi Ran <>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <>.
$Id: 625.html,v 1.2 2023/12/11 11:50:23 dmontalvo Exp $