Lozbo 0 Report post Posted October 17, 2005 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! Share this post Link to post Share on other sites
Tyssen 0 Report post Posted October 18, 2005 font: font-style | font-variant | font-weight | font-size | line-height | font-family Share this post Link to post Share on other sites
arboc7 0 Report post Posted October 18, 2005 You can find the full documentation of the font shorthand CSS here: http://www.w3.org/TR/CSS21/fonts.html%23font-shorthandGood luck and good coding! Share this post Link to post Share on other sites
Lozbo 0 Report post Posted October 18, 2005 Thanks! it is strictly necesary that order right? Share this post Link to post Share on other sites
Tyssen 0 Report post Posted October 18, 2005 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%. Share this post Link to post Share on other sites
reatum 0 Report post Posted October 18, 2005 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. Share this post Link to post Share on other sites
Lozbo 0 Report post Posted October 20, 2005 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. 196155[/snapback] 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. Share this post Link to post Share on other sites