iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-17-2008, 08:21 AM
Banned
 
Join Date: Sep 2005
Posts: 144
varun8211 RepRank 0
Default what happens if css does not find the fonts on my PC

What happens if the fonts I use for my design are not on the PC of my visitors .. ?

Is there no way to display the same fonts if fonts are not found on the PCs of people viewing the website ?
Reply With Quote
  #2 (permalink)  
Old 10-17-2008, 09:29 AM
DaveSawers's Avatar
WebProWorld Veteran
 
Join Date: Dec 2006
Location: Calgary, Alberta, Canada
Posts: 492
DaveSawers RepRank 3DaveSawers RepRank 3
Default Re: what happens if css does not find the fonts on my PC

If you use rare fonts, then the chances are your visitors will not have the same fonts. In that case, the fonts they see will most likely be one of the common set Arial, Times, Verdana.

There are good reasons why these common fonts are common. They are easy to read.

If you insist on using odd fonts and insist on your visitors having to read those fonts, then you have to incorporate them into a graphic of some sort and not have them as text.
__________________
Dynamic Software Development
www.activeminds.ca
Reply With Quote
  #3 (permalink)  
Old 10-17-2008, 01:44 PM
Dubbya's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: Nov 2006
Location: Steinbach, Manitoba, Canada
Posts: 1,300
Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4Dubbya RepRank 4
Default Re: what happens if css does not find the fonts on my PC

If you're using CSS to specify the font face, and you should be, you should always specify several fonts at once and you can specify different font's for every page element, id or class. For example, the <body>, <p>, <h1>, <td>, <div>, the list goes on.

This way, if the user does not have the first specified font installed, the browser will default to the next system font in the list.

Here's how:

(In your CSS stylesheet)
HTML Code:
body{font:76% arial,helvetica,verdana; color:#000;}
Alternatively, you can apply different styles to each element like this:
HTML Code:
div#content {
	font-family:arial, helvetica, verdana, tahoma;
 	color:#D2D5D8;
 	font-size:1.3em;
	font-weight:normal;

p {font-family: "Courier New", Courier, monospace; }
As you can see, you have a lot of flexibility. A word to the wise though, try never to specify comic-sans, script or brush fonts that your users probably won't have installed and that are difficult to read anyway.

For more information regarding CSS Styles, visit the W3C page at:

CSS Tutorial

Enjoy!
Reply With Quote
  #4 (permalink)  
Old 11-07-2008, 04:51 AM
sushil's Avatar
WebProWorld Pro
 
Join Date: Apr 2008
Posts: 118
sushil RepRank 1
Default Re: what happens if css does not find the fonts on my PC

That all make Question mark like this..?????????????????????
?????????????????
????????????????
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS and Fonts dm2000t Graphics & Design Discussion Forum 14 04-09-2006 04:02 PM
What fonts are these, and does anyone have them? ADAM Web Design Graphics & Design Discussion Forum 8 12-09-2005 05:29 PM
loading fonts into css alanag Graphics & Design Discussion Forum 4 09-23-2005 12:58 PM
Fonts ctopher Graphics & Design Discussion Forum 2 09-22-2004 05:03 AM
Fonts ajpaulus Graphics & Design Discussion Forum 2 07-27-2004 02:23 PM


All times are GMT -4. The time now is 02:20 AM.



Search Engine Optimization by vBSEO 3.3.0