Recent Posts
- (02/24) Calling an Element from a Helper TAGS:CakephpWeb ProgrammingUsageTutorialExample
- (10/14) Forcing A Single Join in CakePHP PaginationTAGS:CakephpCakephp 13DatabaseErrorsHabtmMysqlMssqlWeb ProgrammingUsage
- (08/11) Inserting NOW() into MySQL Using CakePHPTAGS:CakephpDatabaseMysqlMssqlWeb ProgrammingUsage
- (08/07) Best PaginateCount for CakePHP - with Group By SupportTAGS:CakephpBehaviorsWeb ProgrammingUsageDatabaseExampleMysqlHabtmHack
- (04/03) CakePHP Error Messages Not Showing on FormTAGS:CakephpCakephp 13Web ProgrammingErrorsUsage
- (02/06) Sorting Paginated Results Using a Related Model Field in CakePHPTAGS:CakephpWeb ProgrammingUsageExample
- (11/02) Changing CakePHP's Model useTable on the FlyTAGS:CakephpWeb ProgrammingMysqlDatabaseExampleTutorial
- (10/18) The Funniest Error Message Ever - Thank You EclipseTAGS:EclipseWeb ProgrammingErrorsHumorWindowsUsageSoftwarePhpCakephp
Subscribe to my feed
MainelyDesign.com Blog
What is the Difference Between Oblique and Italic in CSS?
Posted on 11/12/2009 at 09:34 am by Kevin Wentworth
Viewed 3,943 times | 0 comments
This answer was located at WebMasterWorld.com on 11/12/09. Answers written by johnl.
I was reading up on the CSS font-style property, making sure the default value was normal. In case you are wondering, the default font-style value is normal. What struck me was a new value I've never used before: oblique. Now I'm curious... what's the difference between oblique and italic as it pertains to CSS fonts?
As it turns out, not much! Based on what I learned (from this excellently thorough forum answer), it turns out that CSS actually uses the oblique font if it exists instead of the italic font if you set font-style: italic. The CSS standard actually stipulates that when you specify font-style: italic; the oblique font will be used first, then if not found, the italic font will be used.
My short answer- stick with font-style: italic and CSS will figure out which font style is better to use- oblique or italic.
Cheers,
-Kevin Wentworth
Answers written by johnl. See Answer #2 in context at WebMasterWorld.com.
Tags for What is the Difference Between Oblique and Italic in CSS?
Comments for this Posting
No comments. Be the first to post a reply.
Sorry, comments are closed for this posting.
Please Email Kevin if you have any questions. Thanks!
