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!

Browser Fonts

Status
Not open for further replies.

AtomicChip

Programmer
May 15, 2001
622
CA
Is there any way to change the default browser font? I've tried the <font face=&quot;whatever&quot;> tag, but it seems to have no effect on the font that the user set it to. I've also tried using style sheets, but that doesn't seem to work either.
 
The default browser font is only used when NO other style information is available.

try this simple example -

<p style=&quot;font: bold 18pt impact; color: red;&quot;>TEST</p>

This SHOULD work, so try it and maybe we can start looking at maybe a problem with your browser etc. Dean Owen
 
QuietDean,

Nope, that didn't work either. I haven't had a problem with the <font> tag on any browser, until I tried this one at school. Do you think that it's actually a problem with the bowser itself?

Also, if you don't mind answering this one for me, Netscape doesn't seem to be letting me size my table cells. The code that I'm using is:

<form name=&quot;keyword&quot;>
<table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;600&quot;>
<tr><td valign=&quot;top&quot; rowspan=&quot;3&quot; width=&quot;30&quot;><img src=&quot;Images/keyleft.gif&quot;></td>
<td valign=&quot;top&quot; width=&quot;540&quot; colspan=&quot;3&quot;><img src=&quot;Images/keytop.gif&quot;></td>
<td rowspan=&quot;3&quot; width=&quot;30&quot;><img src=&quot;Images/keyright.gif&quot;></tr>

***HERE'S THE PROBLEM

<tr><td width=&quot;122&quot; bgcolor=&quot;#cccccc&quot; height=&quot;23&quot;><center><img src=&quot;Images/keyword.gif&quot;></center></td>
<td WIDTH=&quot;368&quot; bgcolor=&quot;#cccccc&quot;><center>
<font face=&quot;tahoma&quot; size=&quot;1&quot;><b>Keywords: <font size=&quot;3&quot;><input type=&quot;text&quot; size=&quot;8&quot;></input></font> 
Area: <select><option>Choose One</option></select></td>
<td bgcolor=&quot;#cccccc&quot; align=&quot;right&quot; width=&quot;50&quot;><input type=&quot;image&quot; src=&quot;Images/go.gif&quot; border=&quot;0&quot;></input></td>

***PROBLEM ENDS HERE
<tr><td colspan=&quot;3&quot;><img src=&quot;Images/keybot.gif&quot;></td></tr>
</table>

If you could help me out with this one as well, I would really appreciate it. Thanks
 
What browser are you using, I know that explorer has an option to ignore page specified fonts and such and always use the browser defaults instead.
 
Because I don't have the images that you do, I can't reallt see the problem in the code itself. They look the same without images in IE and NN.
Do you have this example on the web anywhere? Could I have a look?

CHeers. Dean Owen
 
cDevX99,
Yeah, it's with explorer. I was hoping to find a way around that. I don't know a whole lot about JavaScript's functionalities (I'm a VB & C/C++ programmer), but I was HOPING that there was some kind of API calls that JavaScript deals with.

QuietDean,
Sure, the page is up at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top