How to overwrite browser default?

P

Peter

I have a page, for example the font is Times New Roman. The time when it is
loaded, the font is what I expected. But when it refreshed immediately, the
font type has been oevrwriiten by the browser encoding and the font type has
been changed. Please advise how can I fix this?
 
J

Jim Buyens

Please refer to:

Controlling Fonts for an Entire Web Site
http://www.interlacken.com/winnt/tips/tipshow.aspx?tip=2

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
P

Peter

I follow the steps in the web page but still get the same problem. My page
is a login page and use a servlet to validate the user name and password. If
user name is invalid, the servlet will include the login page again. When
the login page reload again, the font has been changed according to browser
default. Appreciate further advise please.
 
J

Jim Buyens

What do you mean by "a servlet"? A server-based component of some kind
written in Java?

If so, you need to investiagate how that gadget is re-issuing the page. I
bet if you look at the "logon failed" version of the page, it's lacking the
style sheet or other formatting that's present on the original page.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
P

Peter

Thanks. I got you and the problem is fixed.


Jim Buyens said:
What do you mean by "a servlet"? A server-based component of some kind
written in Java?

If so, you need to investiagate how that gadget is re-issuing the page. I
bet if you look at the "logon failed" version of the page, it's lacking the
style sheet or other formatting that's present on the original page.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Windows SharePoint Services Inside Out
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Top