Topic: Font in netscape (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10632" title="Pages that link to Topic: Font in netscape (Page 1 of 1)" rel="nofollow" >Topic: Font in netscape <span class="small">(Page 1 of 1)</span>\

 
OlssonE
Maniac (V) Inmate

From:  Eagleshieldsbay, Sweden
Insane since: Nov 2001

posted posted 11-18-2001 16:01

why cant i put a Font tag in the begining of the body and put a end font tag in the end of the body.
this works in IE and Op

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 11-18-2001 16:08

OlssonE: Welcome (your straight jacket, black pills and crayons will be along soon. DOn't let Wakkos fool you into his 'Pill Testing' scam). Some browsers allow it some don't - poor answer I know but there you are!! My main point is don't use them at all as they are among a set of depreciated tags (and bloat your pages code very quickly) - use CSS instead.

Emps


You're my wife now Dave

Brian Sexton
Nervous Wreck (II) Inmate

From: Sunnyvale, California (USA)
Insane since: Nov 2001

posted posted 11-19-2001 04:23

I agree with Emperor. At first, CSS may seem a bit strange, but if you just spend a while with it, you will probably really start to like it. Consider the following...

Let's say you only use P elements for the main article copy on a news page. Would you rather include the following line one time to specify the font for all of your paragraphs...

P { font-family: Verdana, sans-serif; font-size: 11px; background-color: none; color: #000 }

...or use FONT tags over and over and over and over?

Not flexible enough for you? How about the following then? You could just include the following line one time...

.WhateverYouWant { font-family: Verdana, sans-serif; font-size: 11px; background-color: none; color: #000 }

... then specify the class <P CLASS="WhateverYouWant">like this</P>, <SPAN CLASS="WhateverYouWant">like this</SPAN>, <DIV CLASS="WhateverYouWant">or even like this</DIV>.

The beauty of this is that if you want to change the font, size, color, etc., you only have to change it one time then it is applied to every element to which your class has been assigned. If you are using an external style sheet file, that can even be your whole web site.



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu