css不能取 margin,padding,border属性值
css不能取 margin,padding,border属性值 ,只能取到最详细的属性一级,如下所示:[code]$x.css('margin') // 错误,不是最详细一级$x.css('margin-top') // 正确
$x.css('border-left') // 错误,不是最详细一级
$x.css('border-left-style') // 正确[/code]当 $x.css('border-left','')时, $x.css('border-left-style')为 'none'
页:
[1]