Sleek Interactive
4159 Enquist Rd
Campbell River, BC V9H 1A4

OFFICE: 778 420 3918
MOBILE: 250 204 6475

Recent Blog Posts

*content_window*

Reserved words in Javascript "Content_Window" is not the only match in this case....

September 19th, 2011

scrollup(),scrolldown() is not a function

Odd Javascript behaviour scrollup(),scrolldown() is not a function - possible reserved words...

August 31st, 2011

CSS !important

Using !important with inline styles

August 28th, 2011

Custom CSS Cursors

Learn how to add custom cursors to any CSS element in your website....

August 23rd, 2011

Social Networking Timestamp Operator

Learn to create a Timestamp Operator in PHP using the PHP Date function...

August 23rd, 2011

Blog Posts » CSS »

CSS !important


BLOG CATEGORY: CSS | Posted on: August 28th, 2011

I recently discovered that CSS allows the use of !important on inline styles.

My issue at the time was I was having to use !important on a particular tag to get new properties to hold from parent definitions. !important by nature overwrites any inine definitions.

But if you need to override the already over-ridden, you can use !important on your inline style to do this. Not something you need every day but I always find if I write something down I tend to remember it.

That last bit was not !important!

Close External Browser Window