[BNM] BNM: cross platform CSS line-height
David Andrew
david.andrew at gmail.com
Wed Apr 26 13:29:32 BST 2006
Can anyone tell me if the default line-height is different between PC
and MAC? I am doing a pixel perfect design > browser layout and I am
sure they are different. If so, is there a crafty way of setting the
CSS so both platforms are the same.
On a side note getting all the fonts set at to the same size..
Whilst titting around with font-size settings I have discovered that
safari default font height is 14px whilst all other browsers are 16px
- found a solution here to set the fonts all to the same size
http://www.clagnut.com/blog/348/ using:
html {
font-size: 1.25em; /* 1.25×16px = 20px */
}
body {
font-size: 50%; /* adjusts base font to 10px */
}
html>body {
font-size: 10px; /* overrides the above in all browsers except IE */
}
D
More information about the BNMList mailing list
BNMList is hosted by Screenlists, a Screen-Play.net service