Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change font size dynamically for NN4

Status
Not open for further replies.

safra

Technical User
Jan 24, 2001
319
NL
Hi,

I found out that one of the font styles I use results in an almost unreadable small size in NN4+.

How can I enlarge the fontzize dynamically of this style only when NN4+ is detected as the browser?

Ron
 
This probably isn't the best way to do it, but it should work...
Just make two seperate css files, one with the netscape 4 font and one with the other font. Then in the heading link to them like this:
Code:
<link rel=&quot;stylesheet&quot; title=&quot;Default&quot; href=&quot;ns4style.css&quot;>
<link rel=&quot;stylesheet&quot; title=&quot;Default&quot; href=&quot;style.css&quot; media=&quot;all&quot;>

In netscape 4 it will use the first one and in netscape 6/ ie 5 it should use the second one...

Hope that helped...
 
Thanks for that, it works fine!

Ron
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top