Solved

fonts for entire document

Posted on 1998-10-17
7
181 Views
Last Modified: 2013-12-03
Is there a way to delcare a font face (maybe in the body tag) so it applies to the WHOLE document....tables included. Also is there a way to do the same thing for a whole table and not just individual cells, rather than having to declare the same font over and over again.
0
Comment
Question by:Spo0n
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 6

Expert Comment

by:ckayter
ID: 1838792
<font face="whatever, 2nd choice, 3rd choice"> </font>

Set the first tag right after the <body> tag. Close the tag just before the </body> tag.

Be aware that if you set a font that is not on the user's PC, they will see text in whatever their default font is (probably Times Roman).

Colleen



0
 
LVL 8

Expert Comment

by:jbirk
ID: 1838793
The only way to do this properly is to use CSS.
I'm not an expert on CSS, but I may be able to figure something out.
It would be something like:
<STYLE>
body {font-face:helvetica}
</STYLE>

I'm positive, but I think that will do it.

Also remember that Netscape 3 doesn't support this.

-Josh
0
 
LVL 8

Expert Comment

by:jbirk
ID: 1838794
Sorry, it's font-family not font-face...
-Josh
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 28

Expert Comment

by:sybe
ID: 1838795
put
<BASE FONT="whatever">
in the head of the document

Concerning tables, CSS is the way to go, as Josh suggested, but that does not work for NS3.

If you use CGI/ASP then you can define variables at the top of your document, which makes it easy to change the whole layout of the document by changing one parameter. It is even possible to use that in an (SSI) include file, that is being included by more pages. It gives you a functionality compared to CSS, but supported by more browsers.


0
 

Author Comment

by:Spo0n
ID: 1838796
sybe actually has the closest correct answer to what I was after. Colleen, yours was good but it doesn't include tables unlike basefont. Unfortunately the basefont tag doesn't work in a huge variet of browsers but it was what I was looking for.  Sybe if you repost i'll award you the points
0
 

Author Comment

by:Spo0n
ID: 1838797
oh and jbirk.....yours was good too but i should have mentioned that i didn't want to use css. Sorry bud.
0
 
LVL 28

Accepted Solution

by:
sybe earned 50 total points
ID: 1838798
put <BASE FONT="whatever"> in the head of the document
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Create an automated page index 9 53
Show Ruler in Outlook 2010 STILL NOT SHOWING! 4 28
REST endpoint query with a parameter 1 18
href return to normal window 5 16
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
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 add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
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…

821 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