a web building question about CSS and fonts
- gadoo
- Joined: Thu May 09, 2002 4:04 am
- Location: LA
- Contact:
a web building question about CSS and fonts
alright so I want a certain font to be displayed on my site...but if others don't have that font a default one will appear.
So I wanna know, if I can use CSS to make it so others can see my font.
If not, is there a way to secretely upload the font on their computer while they open the page or something? cause I know if anyone gets that "download this" notice, they would cancel the download without even reading, thinking it's some spyware or something (I know I do)
So I wanna know, if I can use CSS to make it so others can see my font.
If not, is there a way to secretely upload the font on their computer while they open the page or something? cause I know if anyone gets that "download this" notice, they would cancel the download without even reading, thinking it's some spyware or something (I know I do)
-
- Joined: Tue Feb 12, 2002 8:27 pm
So long as the visitor has the font listed CSS will work.
There is a set of code that will allow a browser to download a font for use when browsing a page...but I've never used it.
<style type="text/css">
a {font-family: "arial"; color=lightblue;text-decoration:underline;color:darkblue}
a:hover {font-family: "arial";color:red;text-decoration:none;color:darkblue}
td {font-family: "arial"; font-size:12pt;color:black}
body {font-family: "arial"; font-size:12pt;color:black; text-align:justify}
p {font-family: "arial"; font-size:12pt;color:black; margin:0 10;color:black; margin-left:10; text-align:justify}
h1 {font-family: "boost light ssi, impact"; font-size:18pt;color:black; margin-left:10}
h2 {font-family: "boost light ssi, impact"; font-size:14pt;color:black; margin-left:10}
</style>
There is a set of code that will allow a browser to download a font for use when browsing a page...but I've never used it.
<style type="text/css">
a {font-family: "arial"; color=lightblue;text-decoration:underline;color:darkblue}
a:hover {font-family: "arial";color:red;text-decoration:none;color:darkblue}
td {font-family: "arial"; font-size:12pt;color:black}
body {font-family: "arial"; font-size:12pt;color:black; text-align:justify}
p {font-family: "arial"; font-size:12pt;color:black; margin:0 10;color:black; margin-left:10; text-align:justify}
h1 {font-family: "boost light ssi, impact"; font-size:18pt;color:black; margin-left:10}
h2 {font-family: "boost light ssi, impact"; font-size:14pt;color:black; margin-left:10}
</style>
- gadoo
- Joined: Thu May 09, 2002 4:04 am
- Location: LA
- Contact:
-
- Joined: Tue Feb 12, 2002 8:27 pm
that is merely the CSS code for displaying a given font.gadoo wrote:so this is the code that will allow it to download? or is this a CSS example with the font listed?
http://msdn.microsoft.com/library/defau ... _embed.asp
This link goes into detail about font embedding.
- SarahtheBoring
- Joined: Sun Apr 07, 2002 11:45 am
- Location: PA, USA
- Contact:
Personally, if I ever did this (which I wouldn't), I'd just have a splash page with "This site requires Font Blahblahblah to display" (phrase that however you want), with a link right to the font file. They can display it, install it, and go in.
If you're going to design a site that REQUIRES a font, it's just not going to be easy. If they want to come back many times, it'd be worth their while to get the font; if not, then they can see the site messed up with the default.
Personally, if a site installed a font on my computer that I didn't want, I'd never visit there again and want to slug the webmaster in the head with a two-by-four. But that's just me.
If you're going to design a site that REQUIRES a font, it's just not going to be easy. If they want to come back many times, it'd be worth their while to get the font; if not, then they can see the site messed up with the default.
Personally, if a site installed a font on my computer that I didn't want, I'd never visit there again and want to slug the webmaster in the head with a two-by-four. But that's just me.

- shadow-the-hedgehog
- Joined: Tue Jan 28, 2003 12:25 am
- Location: [Insert Funny Location Here]
- Contact:
I suggest that you DON'T use any fonts that are questionable. If you don't think they will have it, its not a good idea to use it. If you want a certain font for body text, I suggest you make an image with the desired font. Then if you feel that the image will take forever to load, slice it up. If you are going to use that font in headers and the like make images of it. This removes the uncertainty of certain fonts on certain computers.
BTW, what font is it?
BTW, what font is it?
**K.O.G3 MIX**
My Online Journal
My Online Journal
'Unopened Letter to the World' by [i]the Ataris[/i] wrote:Am I destined only to die the same way I lived, in seclusion?
- gadoo
- Joined: Thu May 09, 2002 4:04 am
- Location: LA
- Contact:
I can't find the font...but it looks like this sort of 
and if I put a download font thing no one would click it, cause they might think it has spyware in it or something. besides it's a nice clean font (and everyone has a bunch of crap fonts on their computers anyways...what's another clean lovely one gonna do? hehehe). I just don't want it to be ruined by arial or timesnew roman and whatnot.

and if I put a download font thing no one would click it, cause they might think it has spyware in it or something. besides it's a nice clean font (and everyone has a bunch of crap fonts on their computers anyways...what's another clean lovely one gonna do? hehehe). I just don't want it to be ruined by arial or timesnew roman and whatnot.