Re: [css-d] Global Rules?

2009-01-28 Thread Vladislav Vladimirov
On Wed, Jan 28, 2009 at 4:48 AM, johny why johny...@gmail.com wrote: does anyone know how to apply !important globally to all properties of an element? like this?: a.myclass !important {... You can just be more specific in defining the selector html body a.myclass {... --not quite what i mean.

Re: [css-d] Global Rules?

2009-01-28 Thread Bobby Jack
--- On Wed, 1/28/09, johny why johny...@gmail.com wrote: i want to apply the !important rule to all the properties (height, color, etc) of a.myclass, by stating !important only once for the entire element. You could achieve this with a CSS pre-processor if you really want to, but the

Re: [css-d] Global Rules?

2009-01-27 Thread johny why
does anyone know how to apply !important globally to all properties of an element? like this?: a.myclass !important {... You can just be more specific in defining the selector html body a.myclass {... --not quite what i mean. i want to apply the !important rule to all the properties (height,

[css-d] Global Rules?

2009-01-19 Thread johny why
hi does anyone know how to apply !important globally to all properties of an element? the standard usage is: a.myclass { color:blue !important; width:5em !important; } can i do something like this?: a.myclass !important { color:blue; width:5em; } thanks

Re: [css-d] Global Rules?

2009-01-19 Thread Vladislav Vladimirov
does anyone know how to apply !important globally to all properties of an element? the standard usage is: a.myclass { color:blue !important; width:5em !important; } You can just be more specific in defining the selector, like this: html body a.myclass { ... } Regards, Vladislav

Re: [css-d] Global Rules?

2009-01-19 Thread Bill Brown
johny why wrote: can i do something like this?: a.myclass !important { color:blue; width:5em; } Nope thanks You're welcome. ;-) __ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d