Solved

How to use fonts for the whole page?

Posted on 2000-04-30
7
142 Views
Last Modified: 2013-12-02
Hi,
How can I use the same font for the entire page?
Please do not tell me to use a font tag, and then put all the texts inside this tag.  I think there should be a more formal way to do this.

Thanks in advance.
0
Comment
Question by:yingkit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 4

Expert Comment

by:jpanderson
ID: 2765010
Try this > right after the body tag <BODY>insert your font tag (e.g. <FONT FACE="ARIAL">

Now go near the end of the html document now insert </FONT> just before the </BODY> tag.
0
 
LVL 4

Expert Comment

by:jpanderson
ID: 2765027
Ok sorry that is just what you asked me not to do!

You should check out CSS or Cascading Style Sheets.  There are several programs out there that can automate the process for you.  I use HOTDOG.  You could download a trial version at www.sausage.com  I didn't say it would be easy.
0
 

Author Comment

by:yingkit
ID: 2765309
This question has a deletion request Pending
0
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 
LVL 4

Expert Comment

by:jpanderson
ID: 2765866
This question no longer is pending deletion
0
 
LVL 4

Expert Comment

by:jpanderson
ID: 2765867
Did this answer your question and now you don't want to award points or what?
0
 
LVL 8

Accepted Solution

by:
bebonham earned 25 total points
ID: 2765987
in your head put <LINK HREF="yourcss.css" TYPE="text/css" REL="STYLESHEET>

make a normal text file in notepad called yourcss.css.

in it, you can eventually add a bunch of cool elements to your page but for what you asked, do this
type

..myfont {font-family: Arial; font-size: 12pt; font-weight: 500; color: red}

save it.
back to your html doc

change your body tag to include class like this...
<BODY CLASS="myfont" BGCOLOR....etc..etc.>

that will do exactly what you want.

You can overide it with the font tag inside the html doc.

There ya go
Bob Bonham
0
 

Author Comment

by:yingkit
ID: 2768014
I don't think download of Hotdog is an easy job.  The answer from Bob Bonham is what I actually want.
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question