?
Solved

How to use fonts for the whole page?

Posted on 2000-04-30
7
Medium Priority
?
143 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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
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 100 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
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.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

764 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