Old 13-02-2007, 05:14   #1 (permalink)
John Good
+
 
John Good's Avatar
 
Join Date: May 2005
Location: Tropical Networks
Posts: 1,603
shorthand properties

I'd like to know what is the exact order of the properties for font

I always use : weight size face, like :

font: bold 1.3em Arial, Helvetica, sans-serif;

but i've seen people use many more , like :

font: normal normal normal 1.3em Arial, Helvetica, sans-serif;

what the hell ?

edit : I would also like to know how you organise your lines inside a class (alphabeticaly, text first, placement first...)
I do it alphabetical)
__________________
Fonts are like cologne: A bad choice speaks louder than a good one. Justin Feinstein
  Reply With Quote
Old 13-02-2007, 05:26   #2 (permalink)
emil
dt immigrant
 
emil's Avatar
 
Join Date: Nov 2004
Location: Bucharest - Romania
Posts: 7,447
Send a message via ICQ to emil Send a message via MSN to emil Send a message via Yahoo to emil Send a message via Skype™ to emil
maybe they stutter?

Quote:
element {
font-style: normal;
font-variant:normal;
font-weight: normal;
font-size: inherit;
line-height: normal;
font-family:inherit;
}
http://www.dustindiaz.com/css-shorthand/
__________________
Q X R L
  Reply With Quote
Old 13-02-2007, 05:31   #3 (permalink)
John Good
+
 
John Good's Avatar
 
Join Date: May 2005
Location: Tropical Networks
Posts: 1,603
a way to remember that someone ?
something like pgo's TRouBLe would be perfect.
___
edit: thanks emil.
__________________
Fonts are like cologne: A bad choice speaks louder than a good one. Justin Feinstein
  Reply With Quote
Old 13-02-2007, 06:38   #4 (permalink)
Dusteh
Sir digby chicken caesar
 
Dusteh's Avatar
 
Join Date: Sep 2004
Posts: 5,265
A cheat sheet would be handy.
__________________
unconsolidated isoparms
  Reply With Quote
Old 13-02-2007, 06:59   #5 (permalink)
funkyprem
For all your goober needs
 
funkyprem's Avatar
 
Join Date: Dec 2004
Location: Coventry, UK
Posts: 1,547
why bother defining values to their default values? they're set to that anyway!
__________________
Time is really the only capital that any human being has, and the one thing that he can’t afford to lose. - Thomas Edison

prem ghinde
  Reply With Quote
Old 13-02-2007, 07:14   #6 (permalink)
Mik
Magazines™
 
Mik's Avatar
 
Join Date: Mar 2003
Location: Glasgow..
Posts: 11,697
  Reply With Quote
Old 13-02-2007, 07:48   #7 (permalink)
John Good
+
 
John Good's Avatar
 
Join Date: May 2005
Location: Tropical Networks
Posts: 1,603
Quote:
Originally Posted by funkyprem
why bother defining values to their default values? they're set to that anyway!

that's not exactly the point.
__________________
Fonts are like cologne: A bad choice speaks louder than a good one. Justin Feinstein
  Reply With Quote
Old 13-02-2007, 08:05   #8 (permalink)
Dusteh
Sir digby chicken caesar
 
Dusteh's Avatar
 
Join Date: Sep 2004
Posts: 5,265
nice one Mr Fred.
__________________
unconsolidated isoparms
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8