Hey, > I should have said this first: I have two stylesheets with some classes > sharing the same name. I wanted to select a css class with > WWidget::setStyleClass() without having a name collision scenario.
I do not see an easy way to differentiate between the two: the cascading rules of CSS will be followed which say that the one rule 'closest' to the DOM element will be used, and if both rules are in external stylesheets, this simply means the one in the last stylesheet. >From a CSS point of view, it is the stylesheets that determine to which element a particular rule is to be applied, by writing the selector in such a way that the appropriate element(s) are addressed and not the other way around. The philosophy of it is that the designer can (re)style an existing website without or with minimal change to the website, with only full access and freedom of how to write the stylesheets. It seems to me that you have to modify your stylesheets so that the two rules do not have an identical selector ? > I read about CSS namespaces some night ago so that shows how much I know. =p I had never heard of it :-) > I have another question: was is the way members are quoting previous > replies? I KNOW you guys are not manually inserting 50+ '>' characters in a > column to quote people. That would be a normal function for the email client ? koen ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
