On 4 Aug 2009, at 18:26, David Zülke wrote:
> Simply do something like:
>
> self::${htmlnsPrefix}input[ancestor::$ 
> {htmlnsprefix}fo...@id='fubar']...
>
> to target an element inside a form with id "fubar" (could also use  
> class attributes or any other element in the DOM).
>
> That way you can do targeted rules for those special cases (as long  
> as there is something unique in the markup that you can use to  
> detect the situation).

So simple! It's just the same thinking as for CSS: but instead of just  
using ids/classes to control styles, use them to control dynamically  
generated elements.

Thanks!

Michal.
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to