this strange one. i'm trying replicate :last-child
older versions of ie don't support css pseudo class.
if @ following code, background color change works, margin not. div inside cell (.inner
) has margin of 3px, margin override isn't happening. know jquery can traverse div because background colour change works. problem ie6 , ie7 only. have suggestion? appreciated.
$j('table tbody tr td .inner:last').css({ 'margin-right':'0px', 'background':'red' });
let me know if need provide more info.
:last-child css3 selector, , think want apply td, not .inner div adjust margin of .inner div in last cell of each row:
$('table tbody tr td:last-child .inner')...
Comments
Post a Comment