PC Review Forums Newsgroups Microsoft Word Microsoft Frontpage How to overwrite browser default?

Reply

How to overwrite browser default?

 
Thread Tools Rate Thread
Old 14-12-2004, 05:35 AM   #1
=?Utf-8?B?UGV0ZXI=?=
Guest
 
Posts: n/a
Default How to overwrite browser default?


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?
  Reply With Quote
Old 14-12-2004, 06:17 AM   #2
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
 
Posts: n/a
Default RE: How to overwrite browser default?

Please refer to:

Controlling Fonts for an Entire Web Site
http://www.interlacken.com/winnt/ti...show.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)
|/---------------------------------------------------
*----------------------------------------------------

"Peter" wrote:

> 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?

  Reply With Quote
Old 14-12-2004, 07:49 PM   #3
=?Utf-8?B?UGV0ZXI=?=
Guest
 
Posts: n/a
Default RE: How to overwrite browser default?

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.




"Jim Buyens" wrote:

> Please refer to:
>
> Controlling Fonts for an Entire Web Site
> http://www.interlacken.com/winnt/ti...show.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)
> |/---------------------------------------------------
> *----------------------------------------------------
>
> "Peter" wrote:
>
> > 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?

  Reply With Quote
Old 14-12-2004, 10:17 PM   #4
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
 
Posts: n/a
Default RE: How to overwrite browser default?

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)
|/---------------------------------------------------
*----------------------------------------------------


"Peter" wrote:

> 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.
>
>
>
>
> "Jim Buyens" wrote:
>
> > Please refer to:
> >
> > Controlling Fonts for an Entire Web Site
> > http://www.interlacken.com/winnt/ti...show.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)
> > |/---------------------------------------------------
> > *----------------------------------------------------
> >
> > "Peter" wrote:
> >
> > > 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?

  Reply With Quote
Old 15-12-2004, 02:57 AM   #5
=?Utf-8?B?UGV0ZXI=?=
Guest
 
Posts: n/a
Default RE: How to overwrite browser default?

Thanks. I got you and the problem is fixed.


"Jim Buyens" wrote:

> 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)
> |/---------------------------------------------------
> *----------------------------------------------------
>
>
> "Peter" wrote:
>
> > 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.
> >
> >
> >
> >
> > "Jim Buyens" wrote:
> >
> > > Please refer to:
> > >
> > > Controlling Fonts for an Entire Web Site
> > > http://www.interlacken.com/winnt/ti...show.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)
> > > |/---------------------------------------------------
> > > *----------------------------------------------------
> > >
> > > "Peter" wrote:
> > >
> > > > 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?

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off