Goafer Posted July 14, 2010 Share Posted July 14, 2010 I'm trying to declare all my font properties in one declaration, but when I do, the font-variant property stops working. Is this normal? This works: font-variant: small-caps; font-weight: bold; This doesn't: font: bold small-caps; Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/207690-font-declaration/ Share on other sites More sharing options...
cs.punk Posted July 14, 2010 Share Posted July 14, 2010 When using the font shorthand shortcut size (18px) and family(Arial) must be present and they have to be the last two values in that order. So yes it is normal.. Quote Link to comment https://forums.phpfreaks.com/topic/207690-font-declaration/#findComment-1085745 Share on other sites More sharing options...
Goafer Posted July 15, 2010 Author Share Posted July 15, 2010 Thanks very much Quote Link to comment https://forums.phpfreaks.com/topic/207690-font-declaration/#findComment-1086173 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.