On Thu, 2009-04-23 at 09:50 +1200, Tim Snadden wrote: > Regarding Inline styles hello tim, Thank for the reply , Actually it is not what i meant , what i wanted to know was in an inline style i know it refers to the element that it is being applied on , but is there a way can i use the same code on other element as well in an inline style, something along this lines.. <div> <p >This is a text and it should be <a href="http://colervalue.com" style="color:red">red</a>...</p> </div> .Now what if i want to apply same rec color effect on the div layers as well w/o the use of ID/classes. Actually i'm trying to apply style to navigation bar , which has different ul//li/div's and p's tag using javascript, where if the user clicks on the link , the "current active" link changes style to something else. I know there is a simpler way , i was just wondering if there was a way, cause it would really help , otherwise using the javscript i will have to get parentNode/ and other nodes through DOM which can give me fits sometime. :). Thank you. Regards, Gautam Bhatia .
______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/