sjhnjah Posted March 15, 2003 Share Posted March 15, 2003 Is there different type/style of font that can be used on the SyleSheet than the standard "font-family" { font-family: Verdana, Arial, sans-serif }. I have looked all over, this forum and in the docs. I found one similiar posting back in January, but no one replied to her/him.....Maybe everyone was asleep? Or is there no answer. Or....did I miss a chapter? Go ahead, tell me it's right in front of me. :) Any suggestions? Sarah A newbie who has learned just enough to be dangerous! Link to comment Share on other sites More sharing options...
Ajeh Posted March 15, 2003 Share Posted March 15, 2003 You can use any fonts you like. But, note that the fonts used in a stylesheet should be fonts that any user might have on their machine. Otherwise, when they get to your site they will not see what you see as they do not have every font in the world and may not have a unique font that you might pick to use. Link to comment Share on other sites More sharing options...
sjhnjah Posted March 15, 2003 Author Share Posted March 15, 2003 So...OK, you make me think a little. I'm sure this is basic stuff to you, but don't forget I'm a newbee :? I found a site I'm going to post here for any others that may not completely understand the "font thing" If there is a better resource for learning about fonts, by all means let me know. I just stumbled onto this one on a web search for info on fonts. http://www.w3.org/TR/REC-CSS2/fonts.html Thanks Linda, Sarah A newbie who has learned just enough to be dangerous! Link to comment Share on other sites More sharing options...
Ajeh Posted March 15, 2003 Share Posted March 15, 2003 Let's say you want to use Comic Sans on your website. Providing the user's computer who is viewing your site has Comic Sans, then they will see it in that font. What the alternatives do is allow you to know that the user is viewing your site in (based on osC stylesheet.css) 1 of 3 fonts. The first font being the first one the browser attempts to use, the second font being the next it looks for and the third being the last it looks for. If none match the fonts on the user's computer then it will grab the browsers default settings from their browser configuration. So, always pick in addition to your own font that you want for the site, a few other standard fonts that the site still looks good in. Link to comment Share on other sites More sharing options...
sjhnjah Posted March 15, 2003 Author Share Posted March 15, 2003 Clear, concise and to the point. Thank you very much. That really helped the fog to clear. Sarah :) A newbie who has learned just enough to be dangerous! Link to comment Share on other sites More sharing options...
toolcrazy Posted March 15, 2003 Share Posted March 15, 2003 I know at one time that there was a recomendation for a specification of a downloadable font structure. If you used a font that isn't on a users computer, the browser would download a version to cache in order for the page to display correctly. When the user was done it would be just deleted off the computer if the user flushed their cache. I not aware of where this went. But, Linda is right. If the user doesn't have the font you use, the pages won't display correctly. It will default to Arial or other default OS font. Which means all your work to get things just right with your favorite font. Won't work on some computers. Steve ------------------------- Link to comment Share on other sites More sharing options...
sjhnjah Posted March 15, 2003 Author Share Posted March 15, 2003 Boy am I glad I asked the question in the first place! Thanks for the "heads up" to both of you. Sarah A newbie who has learned just enough to be dangerous! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.