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.
--- 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
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,
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
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
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