The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS How would I get certain CSS to override the main CSS?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #30204

    I have a search results page that needs to have specific properties for the links and other elements. I have two style sheets. How would I get one to override the other?

    Say I have “style.css” that gives properties to all elements on my site.

    Now I have “vafstyle.css” that gives properties to elements only on the page below.

    How would I get “vafstyle.css” to override my main “style.css”?

    Any help is much appreciated.


    Thanks guys. Fixing my issues and reading up on these tags. It has been a huge jump for me to learn all these new quick tags for CSS as a print designer-gone developer. Its like trying to forget everything I was taught and learning newer easier ways of doing things.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.