Hi,

On 8/30/07, machineghost <[EMAIL PROTECTED]> wrote:
> In my specific case, I can add my own stylesheet, but my code will be
> used on pages with other stylsheets that I can't control.  If I define
> a "nodisplay" class as ".nodisplay{display:none}", and any of those
> stylesheets contains a display rule with higher specificity (ie.
> "#someSpan.article{display:block"), that rule will trump mine, and
> adding the "nodisplay" class to that element won't do anything.
> Furthermore, I'm sure many corporate developers operate in
> environments where they don't even have access to their pages' css,
> and therefore a "nodisplay" class is not an option for them either.

You should be able to address that with "!important" in most cases
(unless more specific rules specify !important as well).

Anyways, I don't have an opinion to offer on if we should change
"block" to "" in the default implementation.

Arnar

ps. Jeremy, sorry for the double copy - I forget to reply to the list as well :/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to