Solved

How to use fonts for the whole page?

Posted on 2000-04-30
7
139 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
ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

 
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Add image to into animation on website template 1 27
HTML Display Current Year 5 28
Index on a Table 6 15
Javascript the "if condition with Or" 8 16
Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
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 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 …
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…

810 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