Firefox and line-height

admin

Administrator
Staff member
Is there a trick to getting Firefox to recognize the line-height property? All of the other browsers seem to be recognizing it and Firefox is completely ignoring it.

Here is my code:

#col4 p {
margin: 8px 20px 10px 20px;
padding: 0;
font: 11px Verdana, Arial, Helvetica, sans-serif;
line-height: 13pt;
color: #ffffff;
}

Thanks!It looks to me like your margins would swamp the line-height. Got link?Your font-size is in pixels while your line-height is in points. Thus I'm wondering if the different browsers perhaps have a slightly different interpretation of points versus pixels, thus generating a visual difference. (Personally, I like to use percentages for line-height, so that the proportion remains the same if the user increases/decreases their browser's font-size.)
 
Back
Top