|
|
|
|
![]() ![]() |
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! |
|
|
|
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
|
|
|
|
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! |
|
|
|
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?
|
|
|
|
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%.
|
|
|
|
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.
|
|
|
|
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. |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 30th August 2008 - 05:14 PM |