Using a different font causes line-height spacing issues in IE6 and IE7

陌路散爱 提交于 2019-12-24 19:08:58

问题


I have a form with a couple of columns and two or three inputs in each. When I just use the default font there is no problem and everything lines up properly but when I use a different font it adds a little vertical space underneath the labels.

the font I'm trying to use is TheMixRegularCaps - http://www.fontslog.com/themix-regularcaps-otf-32939.htm

How can I fix this?

thanks


回答1:


The problem is most likely the font itself. Some fonts have more vertical spacing than others. You should use CSS to attempt to overlap the different labels vertically to make it look like there isn't a large gap.

Take a look at this jsFiddle I just made demonstrating your objective: http://jsfiddle.net/KWfnq/



来源:https://stackoverflow.com/questions/7681282/using-a-different-font-causes-line-height-spacing-issues-in-ie6-and-ie7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!