开发者

input type=submit not following box-model

I have more of theoretic question: do you know why in the world, input type=submit acts on different box-model even if I tell it do display:block?

(just a note: nothing I couldn't go around... It 开发者_如何学Pythonjust surprised me, that this time, every browser seems to work the same way… padding and border included in total width

second note: i see no point in quirks mode, never used it (seems to me from far ago, that it just f*cks everything up—more than usual)


I have never closely researched this, I just know buttons never do what they're told.

Is this what you mean? Explorer Windows and Mozilla bug - button box model

There is a Fix for Mozilla:

For Mozilla, add -moz-box-sizing: content-box to the button. Unfortunately this bug is unsolvable in Explorer.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜