All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Resetting styles within a div/section of a page

  • # January 4, 2013 at 10:37 am

    Hi guys, I’ve been doing some reading about efficient CSS selectors and I’d like to be able to implement what I’ve learnt within my work, however at my current place of employment they use a block system on their site which means all the HTML elements I style have various property values set to them earlier in the page (over which i have no control).

    Is there any easy way to apply something such as normalize.css to the wrapper div which im working within and not effect the other elements outside this.

    Thanks for the assistance.

    # January 4, 2013 at 11:17 am

    If you can’t edit the existing styles, your main options are to go more specific, or to use !important

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed