Simple CSS help please

  • Thread starter Thread starter Tony Josephs
  • Start date Start date
T

Tony Josephs

I have never used CSS but think I need to do something very simple with it
(them). I need to ensure that Arial is used when my client's rather odd
Franklin Gothic font is not found in the target browser.

see www.fif.org.uk

Is there something simple I can do to make this happen?

TIA



Tony
 
sure, it's no problem.
in your style sheet you'd just list several fonts after your "font-family"
property. just list them from most desirable to least desirable.

here's a sample, assuming you're going to apply it to the body tag:
body{
font-family: Arial, Helvetica, sans-serif;
}
if your font has a space in it's name you're supposed to surround it with "
".

HTH
--
Chris Leeds,
Microsoft MVP-FrontPage

If you make web sites for other people, you should check out ContentSeed:
http://contentseed.com/
 
Don't forget the Franklin Gothic

font-family: Franklin Gothic, Arial, Helvetica, sans-serif;


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
Uh, Are you "experts" forgetting to explain the basics again so those who
don't know what they don't know won't have a chance to know what they don't
know? :-)

The fact that should be explained to neophytes is the fact that CSS will
"cascade" from one declaration to the next so to speak. For fonts then, if
the Franklin Gothic is not found the next font Arial will be tried, if Arial
is not present then Helvetica will be tried and so on.

The reason we use Arial followed by Helvetica is because they are both
equivalent in appearance (arguably) but the Mac does not have a font named
Arial thus when needing a sans-serif fonthe equivalent of Arial the
Helvetica font should always be declared. I also recall some reason to
declare Helvetica first but I don't recall the rationale.

Finally, this resource [1] has proven invaluable and downloading FontList
[2] is also highly recommended.

<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/

[1] http://www.ampsoft.net/webdesign-l/WindowsMacFonts.html
[2] http://www.bitstorm.org/fontlist/
 
it was just an example, I didn't intend to put "Franklin Gothic" in there.
:-)

--
Chris Leeds,
Microsoft MVP-FrontPage

If you make web sites for other people, you should check out ContentSeed:
http://contentseed.com/
--
 
Someone else did? 8)

--
Murray
============

Chris Leeds said:
it was just an example, I didn't intend to put "Franklin Gothic" in there.
:-)

--
Chris Leeds,
Microsoft MVP-FrontPage

If you make web sites for other people, you should check out ContentSeed:
http://contentseed.com/
 
Chris had already made a note about the quotes.

;-)

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
It bore repeating. 8)

--
Murray
============

Steve Easton said:
Chris had already made a note about the quotes.

;-)

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
..............................with a computer
 
Back
Top