W3C home > Mailing lists > Public > www-style@w3.org > July 1997

RE: How does !important inherit?

From: Chris Wilson (PSD) <cwilso@MICROSOFT.com>
Date: Tue, 22 Jul 1997 08:46:41 -0700
Message-ID: <41F7F4CE3CA2CF11BC5000805F14B2A9023ABFAC@RED-31-MSG.dns.microsoft.com>
To: "'neil@bigpic.com'" <neil@bigpic.com>, www-style@w3.org
H1 { color: blue !important }, although I doubt most implementations are
treating everything as strings at that point.  Also, remember the
cascade doesn't necessarily mean "throw all the low-priority stuff
away".

	-Chris
Chris Wilson
cwilso@microsoft.com
***

> -----Original Message-----
> From:	Neil St.Laurent [SMTP:neil@bigpic.com]
> Sent:	Tuesday, July 22, 1997 8:05 AM
> To:	www-style@w3.org
> Subject:	How does !important inherit?
> 
> Given sheet A:
> H1 { color: blue !important }
> 
> Sheet B:
> H1 { color: red }
> 
> Sheet C:
> H1 { color: green }
> 
> Does the cascade of A,B yield:
> H1 { color: blue }  
> OR
> H1 { color: blue !important }
> 
> So in the end does A,B,C yield:
> H1 { color: green }
> OR
> H1 { color: blue !important }
> __
> | Mortar: Advanced Web Development <http://bigpic.com/mortar/>
> | Neil St.Laurent  neil@bigpic.com
> | Big Picture Multimedia
Received on Tuesday, 22 July 1997 11:48:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:50 GMT