Fonts in Mozilla and Document Type

G

Guest

Some time in the last few months a problem poped up with the fonts in
Mozilla. These pages have run ok for years but now the fonts in the
stylesheet file will not set the fonts in Mozilla they go to the default.

I include the stylesheet with the line:
<LINK href="styles.css" type="text/css" rel="StyleSheet">

This has worked for years now I take out the line:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

and the fonts are set correctly.

Did I miss somthing.


Thank you
 
S

Steven Cheng[MSFT]

Hi Jerry,

From your description, some of your web page that apply some CSS style on
it used to display well(in Mozilla browser), but encounter some display
problem on Font now without any changing, correct?

Regard on this issue, if the page source and style sheet hasn't been
changed, I think there are two general points you can check:

1. You can check whether this is a client-side machine or browser specific.
Try testing it on some other boxes with Mozilla installed to see whether it
also raise such problem.

2. For server-side, one possible cause is that the certain CSS style sheet
is not correctly applied to the page. You can use some trace tools to
capture the http requests/response from browser to server and check whether
the css style sheets are correctly downloaded. If correctly downloaded, is
all other settings in style sheet working correctly(except the font
setting), for example, the border, background color ....

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead



==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.



Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================



This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top