开发者

why the extra 10 pixels in this JSfiddle?

开发者 https://www.devze.com 2023-03-20 15:43 出处:网络
Can someone tell me why I have to subtract an extra 10 pixels from th开发者_开发技巧e positioning in this JSFiddle?

Can someone tell me why I have to subtract an extra 10 pixels from th开发者_开发技巧e positioning in this JSFiddle?

http://jsfiddle.net/MPFyt/


It's because the jsfiddle window has 10px of padding around it.


It's just the CSS reset that's tripping you up. http://jsfiddle.net/mattball/YQPsz/

0

精彩评论

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

关注公众号