Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to use fonts for the whole page?

Posted on 2000-04-30
7
Medium Priority
?
144 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

618 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