[SOLVED] The font problem

This is a discussion on "[SOLVED] The font problem" within the Web Page Design section. This forum, and the thread "[SOLVED] The font problem are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 25th, 2007, 21:35
New Member
Join Date: Aug 2007
Location: England
Age: 18
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] The font problem

Hello there,

I came across with a problem - some users (particulary that don't have "Lucida Sans" in their "Fonts" folder) can't view my page properly. The design goes slightly down because of that.

I'm wondering is there a way to solve that problem (like integrating the font into the CSS or something) or I should go for an alternative ("Georgia", "Geneva")?

Thanks.

  #2 (permalink)  
Old Sep 25th, 2007, 21:38
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: The font problem

You should go for an alternate font. Do you know how to accomplish this in CSS? If not, I can give you the code to use. As far as I know you can not have the font embedded using XHTML/CSS. You can do this with flash however.
  #3 (permalink)  
Old Sep 25th, 2007, 22:05
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,799
Blog Entries: 9
Thanks: 2
Thanked 2 Times in 2 Posts
Re: The font problem

Are you allowed to offer a download of the font so that people can view it properly?
or is that illegal?
I know it's not very practical
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
  #4 (permalink)  
Old Sep 25th, 2007, 22:08
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: The font problem

Quote:
Originally Posted by predatoruk90 View Post
I'm wondering is there a way to solve that problem (like integrating the font into the CSS or something) or I should go for an alternative ("Georgia", "Geneva")?
You can't embed fonts into CSS. The solution is simple: specify fall-back fonts:

Code: Select all
font-family: "Lucida Sans", Verdana, sans-serif;
This indicates your font preference. You can list as many as you want, but you should always end with the generic fall-back "sans-serif" or "serif".
  #5 (permalink)  
Old Sep 26th, 2007, 08:29
New Member
Join Date: Aug 2007
Location: England
Age: 18
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: The font problem

Thanks for your replies.

Ok then, I'll do as you say - list the alternative fonts (frankly speaking I didn't know what that set of fonts did untill now, thanks). What do you think will be the best alternative for Lucida Sans:

font-family: "Lucida Sans", "Geneva", "Georgia", "Verdana", sans-serif;

You say it's possible to use flash to help me - how does it work, is it difficult to do?

Thanks in advance.
  #6 (permalink)  
Old Sep 26th, 2007, 09:08
welshstew's Avatar
Lead Administrator

SuperMember
Join Date: May 2007
Location: inside the outside
Posts: 1,479
Blog Entries: 13
Thanks: 1
Thanked 19 Times in 17 Posts
Re: The font problem

Quote:
Originally Posted by predatoruk90 View Post
You say it's possible to use flash to help me - how does it work, is it difficult to do?
You can also do this using ASP, using a constants file and a few funcky functions.........

actually, scrap that. The idea I had would have spit out an image, perfect for producing headings etc, but wouldn't work for main text in your site.

Ignore me
__________________
WelshStew
Lead Administrator

tierney rides tboard - uk site | xtreme wales - extreme clothing
If you think I've helped, click the "Thanks"
webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
  #7 (permalink)  
Old Sep 26th, 2007, 09:50
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: The font problem

Quote:
Originally Posted by predatoruk90 View Post
font-family: "Lucida Sans", "Geneva", "Georgia", "Verdana", sans-serif;
Leave out Georgia, because it's a serif font (the others are sans-serif).
  #8 (permalink)  
Old Sep 26th, 2007, 13:16
New Member
Join Date: Aug 2007
Location: England
Age: 18
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: The font problem

Ok, then:

font-family: "Lucida Sans", Geneva, Verdana, sans-serif;

That should do - thank you all for your help.
  #9 (permalink)  
Old Sep 27th, 2007, 08:58
drd drd is offline
SuperMember

SuperMember
Join Date: Dec 2005
Location: Hampshire, England, UK
Age: 28
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Re: The font problem

For headings, have a look at http://en.wikipedia.org/wiki/Scalabl...sh_Replacement
  #10 (permalink)  
Old Sep 27th, 2007, 13:01
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: The font problem

Quote:
Originally Posted by drd View Post
Or you can head on over to the FAQ section of our newsletter
  #11 (permalink)  
Old Sep 28th, 2007, 16:11
New Member
Join Date: Aug 2007
Location: England
Age: 18
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: The font problem

Thx
Closed Thread

Thread Tools

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
[SOLVED] Ideal Font / Size? sing2trees Web Page Design 12 Dec 28th, 2007 09:50
Font Problem In My Css Coding balaji Web Page Design 1 Jul 2nd, 2007 11:59
body font size problem samv Web Page Design 6 Feb 21st, 2007 11:55
side link tabs font size problem paul1234 Starting Out 2 Jan 11th, 2007 19:55
css font sizes problem jesse22 Web Page Design 7 Oct 23rd, 2006 18:04


All times are GMT. The time now is 09:09.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43