To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Tools > Dreamweaver

Dreamweaver In need of help with Dreamweaver?

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-21-2003, 12:52 PM   #1
CoderJohan
Member
 
Join Date: Jan 2003
Posts: 48
CSS and Fonts

Hello again...

I'm new to CSS and doesn't know exactly what i can do with it... So i have a question... To show a font on a webpage you have to install it inorder to make it work but is there away to do this with CSS if the font is located on the server? Or do you need to install it anyway?
Thanks
//Johan
CoderJohan is offline   Reply With Quote
Old 02-21-2003, 01:04 PM   #2
Norman Graham
Senior Member
 
Norman Graham's Avatar
 
Join Date: Nov 2002
Location: Berlin, Germany
Posts: 771
Thumbs down Font location

Bad luck, I'm afraid. In order for a font to be shown, it needs to be on the client machine. The server can't influence the fonts which the client browser is capable of showing. If you want fancy fonts, you'll either have to offer a font download on your site (illegal unless you own the rights to the font or you obtain permission from the rights holder) or insert any fancy font text as a graphic. If the font is just for nice headings etc., then graphics is the way to go.

Otherwise, it's is very good HTML/CSS policy to choose fonts which every PC/Mac in the world already has. These are Verdana, Arial, Helvetica for a sans-serif font and Times, New Century Schoolbook, Garamond for a serif font. I recommend stipulating these font selections in the CSS, leaving room for each browser to choose what it has available. Anyone who can't view your site because the fonts are unusual won't be visiting twice.

Best of luck

Norman
Norman Graham is offline   Reply With Quote
Old 03-12-2003, 02:07 PM   #3
mzanimephp
genki ni shitemashitayo
 
mzanimephp's Avatar
 
Join Date: Dec 2002
Location: California
Posts: 274
Correction.

Speaking as a avid Mac OS X user, I know that Mac does not have "New Century Schoolbook" font.
__________________
Scripting PHP, one line at a time | My web site
mzanimephp is offline   Reply With Quote
Old 03-12-2003, 07:16 PM   #4
Major Tom
Junior Member
 
Major Tom's Avatar
 
Join Date: Nov 2002
Posts: 15
Actually, you can insert your own fonts. It will only work for IE though...

See the MS WEFT pages for more info.
Major Tom is offline   Reply With Quote
Old 03-13-2003, 08:29 AM   #5
Norman Graham
Senior Member
 
Norman Graham's Avatar
 
Join Date: Nov 2002
Location: Berlin, Germany
Posts: 771
Quote:
Originally posted by mzanimephp
Correction.

Speaking as a avid Mac OS X user, I know that Mac does not have "New Century Schoolbook" font.
Yeah, which is why you should always offer a selection of fonts in the CSS and the statement "sans-serif" or "serif" so that the browser can choose its own best choice and forge ahead with displaying the website.

Norman
Norman Graham is offline   Reply With Quote
Old 03-13-2003, 04:12 PM   #6
mzanimephp
genki ni shitemashitayo
 
mzanimephp's Avatar
 
Join Date: Dec 2002
Location: California
Posts: 274
Quote:
Originally posted by Major Tom
Actually, you can insert your own fonts. It will only work for IE though...

See the MS WEFT pages for more info.
Yeah, that is true... but I've seen and heard that they don't always display properly in certain browsers on Mac, and Linux. They appear too damned small to see.
__________________
Scripting PHP, one line at a time | My web site
mzanimephp is offline   Reply With Quote
Old 03-16-2003, 11:45 AM   #7
Major Tom
Junior Member
 
Major Tom's Avatar
 
Join Date: Nov 2002
Posts: 15
Quote:
Originally posted by mzanimephp
Yeah, that is true... but I've seen and heard that they don't always display properly in certain browsers on Mac, and Linux. They appear too damned small to see.
Yes. As I said it will (probably?) only work properly on IE...
Major Tom is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 11:26 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.