/    Sign up×
Community /Pin to ProfileBookmark

Does Anyone Know

Would anyone know what javascript I should use to allow users who are using various web browsers (netscape, ie, mozilla) to view my web pages with the correct font and style? I’m new at this so any help would be greatly appreciated. FYI, I am using XHTML with CSS.

Thanks in advance,

nicomen

to post a comment
JavaScript

8 Comments(s)

Copy linkTweet thisAlerts:
@KorMay 06.2004 — The safest way is to use "universal" font families and to double them with other similar families. Thus the CSS:

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

means that browser should search for Arial first in OS installed fonts. If there is no Arial, should try Helvetica. If there is no Helvetica either, should use any other sans serifed font family.

The most used font family combination (with great chances to be found as default installed in almost all the computers) are:

Arial, Helvetica, sans-serif;

"Times New Roman", Times, serif;

"Courier New", Courier, mono;

Verdana, Arial, Helvetica, sans-serif;

Georgia, "Times New Roman", Times, serif;

You must know also that the user can overule with his own font combination if he wants to, and there is no way to stop him doing that

If you want to use special fonts (for logos or slogans) better build them as pictures (GIF, JPG, PNG) with a graphical application (Photoshop for instance).
Copy linkTweet thisAlerts:
@nicomenauthorMay 06.2004 — Well, yes, I've done that, but for special fonts....and layout I am told that there is a javascript that I can put into my html doc so that it is seen properly.

Thanks anyway....

nicomen
Copy linkTweet thisAlerts:
@jacobkiperFeb 08.2005 — HOW TO MAKE THOUSANDS DOING NOTHING AT ALL

......

[b]Moderator's Note[/b]

Why don't you make all that money ur self and leave this website alone for your scams. You will be banned from this site if you kept posting such gibberish here.
Copy linkTweet thisAlerts:
@PittimannFeb 08.2005 — Hi!

Just to avoid that maybe more people report jacobkiper's post (and the Mods go mad ?): I already reported it.

Cheers - Pit
Copy linkTweet thisAlerts:
@Khalid_AliFeb 08.2005 — Please do inform if you see a post of his along the same lines, I would love to bann him/her.
Copy linkTweet thisAlerts:
@PittimannFeb 08.2005 — Hi Khalid![i]Originally posted by Khalid Ali [/i]

[B]Please do inform if you see a post of his along the same lines, I would love to bann him/her. [/B][/QUOTE]
I surely will (hate stuff like that being posted), but he/she just hung around for a short while and disappeared again.

But (serious question): Is one post like that not reason enough?

Cheers - Pit
Copy linkTweet thisAlerts:
@jacobkiperFeb 08.2005 — I'm sorry. I'll leave you alone. Please forgive.
Copy linkTweet thisAlerts:
@PittimannFeb 08.2005 — Hi!

Please don't leave us alone. I already sent my two cents!

Seriously: move your @$$ from here, if you do not have different things to tell us or to ask than in your previous post. And just to let you know: I am not an official here, but somebody whom you disturbed.

Pit
×

Success!

Help @nicomen spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...