Solved

How to use fonts for the whole page?

Posted on 2000-04-30
7
138 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
  • 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …

948 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now