[Prev][Next][Index][Thread]

RE: How does !important inherit?



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