开发者

Chrome, Safari do not observe padding when set by JavaScript

When using Chrome 12.0.742.100, contained elements in an element that has pa开发者_JAVA技巧dding-right set by JavaScript do not update their position accordingly.


This webkit bug has been reported for Chromium in May 2011. Until it gets fixed, and in some cases, we could use margin attribute instead. http://code.google.com/p/chromium/issues/detail?id=81879

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜