[jQuery] Re: Removing all styles from an element-

2009-02-12 Thread Ricardo Tomasi
Even redeclaring all properties in CSS will be much better than using javascript to fix it. Something like #myModule * { margin:0; padding:0; font-family:Arial; color:#000; height:auto; width:auto; font-size:10px; letter-spacing:1; line-height: 1; text-indent:0; overflow:visible; border:0 none;

[jQuery] Re: Removing all styles from an element-

2009-02-12 Thread Nic Luciano
I considered it, but because of the ambiguity I run into I just need to specify every single Css property... Thought there might be something clever I could do with jquery but pobably not... Thanks Sent from my iPhone On Feb 12, 2009, at 12:08 AM, Ricardo Tomasi wrote: You could a u

[jQuery] Re: Removing all styles from an element-

2009-02-11 Thread Ricardo Tomasi
You could a use kind of "CSS reset" for your container. I usually don't like '*' declarations but this seems fit here: #myModule * { margin:0; padding:0; font-family:Arial; color:#000; height:auto; width:auto } On Feb 11, 11:09 pm, Nic wrote: > The scenario: I am developing a module that will l