Forums

2 style sheets - How do I specify what content comes from where? (2 posts)

  1. leftajarandy
    Member
    Posted 1 year ago #

    I have a unique style sheet ("emily-the-strange.css") that I am calling for a page, however the main element which I am trying to change is the body font colour but it is being drawn from a separate style sheet ("style-light.css")

    How do I set it so that the elements I specify in "emily-the-strange.css" over ride the "style-light.css"?

    Link:http://news.pqube.co.uk/index.php/test/

    Any help would be greatly appreciated :)
    Andy

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    as long as your 'strange' stylesheet is linked or called after the 'light' stylesheet, the styles of the 'strange' should overwrite the identical styles of the 'light' (as long as they are of the same specificity.)

Topic Closed

This topic has been closed to new replies.

About this Topic