Try: $('.gradient').wrapInner('<span />').find('> span').gradient();
On Nov 14, 1:29 pm, bdee1 <[EMAIL PROTECTED]> wrote: > currently i am matching the td's based on a gradient class. so like this: > $('.gradient').gradient(); > > how that work? > > > > Brandon Aaron wrote: > > > Try wrapping the contents of the td with a span first and then > > applying the gradient to the span. Something like this: > > > $('td').wrapInner('').find('> span').gradient(); > > > -- > > Brandon Aaron > > > On Nov 14, 12:13 pm, bdee1 <[EMAIL PROTECTED]> wrote: > >> anyone have an idea on this? > > >> bdee1 wrote: > > >> > i am trying to programatically add gradients to table header cells and > >> i > >> > came across the gradient plugin > >> > (http://jquery.com/plugins/project/gradient). it seems that this > >> plugin > >> > works well for creatign gradients in divs but when i try and apply it > >> to a > >> > td, it seems to work in ie but in firefox, it puts the gradient at the > >> top > >> > of the page rather than in the td. > > >> > can anyone think of a possible workaround for this? > > >> -- > >> View this message in > >> context:http://www.nabble.com/gradient-plugin---wont-work-on-td%27s--tf480594... > >> Sent from the jQuery General Discussion mailing list archive at > >> Nabble.com. > > -- > View this message in > context:http://www.nabble.com/gradient-plugin---wont-work-on-td%27s--tf480594... > Sent from the jQuery General Discussion mailing list archive at Nabble.com.