kurt.santo Posted July 5, 2007 Share Posted July 5, 2007 I shortened the following CSS:td {font-size: 10px; line-height:120%; font-weight: bold; font-family: Verdana, Geneva, Arial, helvetica, sans-serif; }to:td {font: bold 10px/120% Verdana, Geneva, Arial, helvetica, sans-serif; }The font displays much too big in FF (but fine in IE). What could be the reason?Cheers,Kurt Link to comment Share on other sites More sharing options...
boen_robot Posted July 5, 2007 Share Posted July 5, 2007 Try to keep the line-height on it's own line, like so: td {font: bold 10px Verdana, Geneva, Arial, helvetica, sans-serif;line-height:120%;} Link to comment Share on other sites More sharing options...
kurt.santo Posted July 6, 2007 Author Share Posted July 6, 2007 Try to keep the line-height on it's own line, like so:td {font: bold 10px Verdana, Geneva, Arial, helvetica, sans-serif;line-height:120%;} This is working, cheers:-)In a book from Simon Collison (Beginning CSS Development) it says that you can use shorthand in the form p { font: style variant weight size/line-height family}. He also give an example (which is similar to my given example). But unfortunately it is not working with FF. Kind of weird...Kurt Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.