Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Shorthand Css, for font
Lozbo
post Oct 17 2005, 11:09 PM
Post #1


Super Member
*********

Group: Members
Posts: 282
Joined: 1-September 05
From: Wanatos
Member No.: 11,382



What is the order and the syntaxis for the shorthand way of writting the font rules? like font:#000 arial, sans-serif center... etc...

Thanks!
Go to the top of the page
 
+Quote Post
Tyssen
post Oct 18 2005, 12:43 AM
Post #2



***********

Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



font: font-style | font-variant | font-weight | font-size | line-height | font-family
Go to the top of the page
 
+Quote Post
arboc7
post Oct 18 2005, 12:47 AM
Post #3


Advanced Member
*******

Group: Members
Posts: 123
Joined: 5-September 05
Member No.: 11,522



You can find the full documentation of the font shorthand CSS here: http://www.w3.org/TR/CSS21/fonts.html#font-shorthand

Good luck and good coding!
Go to the top of the page
 
+Quote Post
Lozbo
post Oct 18 2005, 01:28 AM
Post #4


Super Member
*********

Group: Members
Posts: 282
Joined: 1-September 05
From: Wanatos
Member No.: 11,382



Thanks! it is strictly necesary that order right?
Go to the top of the page
 
+Quote Post
Tyssen
post Oct 18 2005, 02:46 AM
Post #5



***********

Group: Members
Posts: 1,161
Joined: 9-May 05
From: Brisbane, QLD
Member No.: 6,818



You don't have to specify all of them but the ones that you do use must be in that order. When specifying font size/line height combinations, you separate them with / e.g. 18px/24px or 83%/140%.
Go to the top of the page
 
+Quote Post
reatum
post Oct 18 2005, 04:45 PM
Post #6


Member [Level 1]
****

Group: Members
Posts: 63
Joined: 3-October 05
Member No.: 12,515



is Netscape nav capable of reading shorthand? I've done some stuff with shorthand that looked fine on ie, but when I loaded the same page in Netscape, it looked all sorts of screwey.
Go to the top of the page
 
+Quote Post
Lozbo
post Oct 20 2005, 12:30 AM
Post #7


Super Member
*********

Group: Members
Posts: 282
Joined: 1-September 05
From: Wanatos
Member No.: 11,382



QUOTE(reatum @ Oct 18 2005, 10:45 AM)
is Netscape nav capable of reading shorthand?  I've done some stuff with shorthand that looked fine on ie, but when I loaded the same page in Netscape, it looked all sorts of screwey.
*


I believe there are special hacks for writting cross browser css, to fix some netscape issues, but i dont have right now at hand the code, let me find it and ill post it here.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Html Font Tags In Php(11)
  2. Change Font Size On Taskbar Buttons(4)
  3. DOD game font(2)
  4. Chalet-london1960 Font(2)
  5. Whatthefont?!(3)
  6. Smaller Font In C Panel(5)
  7. Microsoft Windox Xp Font(7)
  8. Problems With Link And Font Color(7)
  9. Font Help(11)
  10. Adobe Ps 9 Font And Layer Question(2)
  11. Saint Michael Splinter Cell Sig(14)
  12. Font(13)
  13. Free Font View For Cd(3)
  14. Free Font Packages ....(11)
  15. Quick And Easy Font Instaler(4)
  1. Browser Altering Font Size(6)
  2. Font Tag Interfears With Css(2)
  3. Changing Font Sizes On Wordpress(5)
  4. Could You Help Me Identify This Font?(6)
  5. Font Effects In Nuke(0)
  6. Using Different Font(3)
  7. Font Size Changer(2)
  8. Identify This Font(3)
  9. How Do I Change The Default Windows Font Size?(3)


 



- Lo-Fi Version Time is now: 30th August 2008 - 05:14 PM