473,396 Members | 1,929 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Font Family Not Respected in Netscape?

This shows the correct font in IE6 but not in Netscape 7.0, what should be fixed?
#div1
{
position: absolute;
font-size: 12px;
font-weight: 500;
font-family : Verdana, Geneva, Tahoma, Arial Helvetica, Monotype.com , sans-serif;
color:Olive;
overflow: hidden;
right:4;
top: 8;
z-index: 7;
padding: 0 0 0 0;
margin: 0 0 0 0;
}

Thanks.
Jul 20 '05 #1
4 2241
Hi,

you should not use Monotype.com: just Monotype, that´s working. Anyway,
it´s maybe better not to use white-space for CSS definitions, because
older Netscape versions sometimes don´t like that. E.g.:

font-family:Verdana,Geneva,Tahoma,Arial,Helvetica,Monot ype,sans-serif;

Regards, Horst

bdwise wrote:
This shows the correct font in IE6 but not in Netscape 7.0, what should be fixed?
#div1
{
position: absolute;
font-size: 12px;
font-weight: 500;
font-family : Verdana, Geneva, Tahoma, Arial Helvetica, Monotype.com , sans-serif;
color:Olive;
overflow: hidden;
right:4;
top: 8;
z-index: 7;
padding: 0 0 0 0;
margin: 0 0 0 0;
}

Thanks.


Jul 20 '05 #2
bdwise wrote:
This shows the correct font in IE6 but not in Netscape 7.0, what
should be fixed?
#div1
{
position: absolute;
font-size: 12px;
font-weight: 500;
font-family : Verdana, Geneva, Tahoma, Arial Helvetica, Monotype.com
, sans-serif; color:Olive;
overflow: hidden;
right:4;
top: 8;
z-index: 7;
padding: 0 0 0 0;
margin: 0 0 0 0;
}


Don't know if it's _the_ problem but you need a comma after Arial. I'm not
sure what monotype.com is and you need to define units for right and top.

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.

Jul 20 '05 #3


bdwise wrote:
This shows the correct font in IE6 but not in Netscape 7.0, what should be fixed?
#div1
{
position: absolute;
font-size: 12px;
font-weight: 500;
font-family : Verdana, Geneva, Tahoma, Arial Helvetica, Monotype.com , sans-serif;
color:Olive;
overflow: hidden;
right:4;
top: 8;
z-index: 7;
padding: 0 0 0 0;
margin: 0 0 0 0;
}


Try

#div1
{
position: absolute;
font-size: 12px;
font-weight: 500;
font-family : Verdana, Geneva, Tahoma, Arial, Helvetica, "Monotype.com"
, sans-serif;
color:Olive;
overflow: hidden;
right:4px;
top: 8px;
z-index: 7;
padding: 0 0 0 0;
margin: 0 0 0 0;
}

you can check your CSS at
http://jigsaw.w3.org/css-validator/validator-text.html
IE is not the right tool to tell you whether your CSS is syntactically
correct.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #4
br************@hotmail.com (bdwise) wrote:
This shows the correct font in IE6 but not in Netscape 7.0, what should be fixed?
URL?
#div1
{
position: absolute;
font-size: 12px;
It's a bad to set font sizes in pixels as IE users can't resize them.
font-weight: 500;
font-family : Verdana, Geneva, Tahoma, Arial Helvetica, Monotype.com , sans-serif;
Verdana is a poor choice for use in an author stylesheet for reasons
that have been given here many times.

If you really mean a font called Arial Helvetica than it's recommended
that you quote it "Arial Helvetica". On the other hand if you mean the
fonts Arial and Helevetica then you're missing a comma.

Monotype.com should also be quoted. It's this that's causing your
problem.
color:Olive;
What's the background colour? How do you know that I haven't got an
olive background in my user stylesheet?
overflow: hidden;
How do we read the content when it's larger than the container?
right:4;
top: 8;
4 what? 8 what? Maybe you want the div to be positioned 4 miles from
the right hand side, but the browser has to guess that.
z-index: 7;
padding: 0 0 0 0;
margin: 0 0 0 0;
Wouldn't margin: 0; and padding: 0; be quicker?
}


http://jigsaw.w3.org/css-validator/

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

133
by: Philipp Lenssen | last post by:
Why is there no standardized and well-working way for a web-page to offer the font for download/embed it, in order to be displayed on the page? No matter what you think of the preferred font of a...
4
by: Clive Everett | last post by:
I thought it would be rather fun to try out @font-face, but I cannot get it to work. I used Microsoft WEFT to generate several embedded fonts and find that the example below works when I use my...
32
by: Andreas Prilop | last post by:
Here is an illustration of the warning http://ppewww.ph.gla.ac.uk/~flavell/charset/browsers-fonts.html#dont that you should not specify a typeface when you have characters outside West European...
5
by: Mike M | last post by:
Hi all, Attempting to do css for cross platform/browser compatibility. Have an issue with IE6 sp1 running on NT4. When using IE6 sp1, example 1 works fine, example 2 produces unreadable text....
2
by: Nathan | last post by:
We have a content management system which allows our users to enter html into pages on the site but they often just paste in from Word and fill the site with word and html tags. Our content...
300
by: Ståle Sæbøe | last post by:
I am a bit curious about this. The graphic design people I work with say it is their preferred font for web pages. The reason being that it is "kinder" to the eye both in terms of shape and...
4
by: lanarkcp | last post by:
This section of code works perfectly in IE, but not Firefox or Netscape, where the paragraph formatting and color are lost. Suggestions?? Thanks. <head> <meta http-equiv="content-type"...
58
by: Don Li | last post by:
I've tried <body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;"> or <body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;"> or <body...
2
by: kheitmann | last post by:
OK, so I have a blog. I downloaded the "theme" from somewhere and have edited a few areas to suit my needs. There are different font themes within the page theme. Long story short, my "Text Posts"...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.