show me your css fragment with the selector and if you can a fragment of the jquery if its possilbe, you do not have it maybe online somewhere?
do you use firebug or web-developer toobar ? you could look on the generated code if everthing went ok i will try to make an example today when i will be back home. On 3 Aug., 18:17, dealkk <jasonpha...@gmail.com> wrote: > can you give me full working example? > > This is what i try. The dummy td did apply css style ,but all dynamic > td are not apply css style. > > <table id="tbid"> > <tr><td>dummy</td></tr> > [row append dynamiccly] > </table> > > On Aug 2, 6:54 pm, Stefano <ares...@gmail.com> wrote: > > > > > this is a more css problem than a jquery problem. > > you have to make the right order in your css and use right selector. i > > had the same problem. > > <example 1> > > td.td-class div a { > > /*some styles*/} > > > a.active:hover { > > /*some styles such as background-image dondt wordek but border worked. > > in my case dont worked on dynamic generated markup because its not > > very DOMified i think- that are not 100% clear paths and maybe its > > troube for the js interpreter and the render engine- this is only > > speculation*/} > > > </example 1> > > > <example 2> > > td.td-class div a { > > /*some styles*/} > > > ... > > ... > > td.td-class div a.active:hover { /* << look at the selector */ > > /* i think now the js interpreter sees the path better than before in > > my case it worked- try to mani pulate your css order and use right > > selectors*/} > > > </example 2> > > > example 2 worked in my case > > > try it out ;) > > > On 2 Aug., 05:53, dealkk <jasonpha...@gmail.com> wrote: > > > > i create tatble row dynamic using append after calling web service. It > > > create ok. > > > > After create table i try to add css to the td but it doesn't seem to > > > work. any idea how to resolve this. the syntax is correct. I notice > > > when i view source, the all the row are not there. > > > > <table id="tbid"> > > > [row append dynamiccly] > > > </table>