Font Rendering/Line-Height Issue on MAC/Pc (Outside of Element)

Font Rendering / Line-Height Issue on Mac/PC (outside of element)

If it is resolved by using a different font (Arial) then the issue is with the font, not with the CSS. As you have noticed font rendering differs between browsers.

One possible solution could be to download the Cutive font (I see it has a SIL license) and then run it through the Font Squirrel font-face generator. In "Expert" mode there is an option to "Fix Vertical Metrics" which might be what you are looking for.

Line height being represented differently on browsers

Did you try to use CSS reset. This makes sure that the size and spacing is always the same independent the browser.
See more: About CSS Reset

Put it before all your CSS code:

* {
margin:0;
padding:0;
border: 0;
list-style:none;
vertical-align:baseline;
line-height: 1;
}


Related Topics



Leave a reply



Submit