开发者

Button Inconsistency in IE7 with padding

I have managed to improve button element consistency somewhat with CSS, but IE7 is still misbehav开发者_如何学Pythoning. Button width is 2px greater in IE7 and button height is 4px greater in IE7.

See: http://jsfiddle.net/ZJQN2/2/ using IE7

All other browsers seem to be consistent.

How can I fix this, it is the height that is causing me the grief!


you can use hack and add special css property that will work only with ie:

 *+html .yourDiv{height: XXpx;}

Just use 4px lower value if this is causing the problem

if you are more interested into hacks for IE, consider visiting this link with css hacks for IE, which I have already given as answer for similar problem

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜