HighDots Forums  

Font Family Not Respected in Netscape?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Font Family Not Respected in Netscape? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Font Family Not Respected in Netscape? - 12-10-2003 , 10:35 AM






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.

Reply With Quote
  #2  
Old   
Horst Rotenholzer
 
Posts: n/a

Default Re: Font Family Not Respected in Netscape? - 12-10-2003 , 11:02 AM






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:
Quote:
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.


Reply With Quote
  #3  
Old   
PeterMcC
 
Posts: n/a

Default Re: Font Family Not Respected in Netscape? - 12-10-2003 , 11:03 AM



bdwise wrote:
Quote:
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.



Reply With Quote
  #4  
Old   
Martin Honnen
 
Posts: n/a

Default Re: Font Family Not Respected in Netscape? - 12-10-2003 , 11:06 AM





bdwise wrote:

Quote:
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/



Reply With Quote
  #5  
Old   
Steve Pugh
 
Posts: n/a

Default Re: Font Family Not Respected in Netscape? - 12-10-2003 , 11:10 AM



bradwiseathome (AT) hotmail (DOT) com (bdwise) wrote:

Quote:
This shows the correct font in IE6 but not in Netscape 7.0, what should be fixed?
URL?

Quote:
#div1
{
position: absolute;
font-size: 12px;
It's a bad to set font sizes in pixels as IE users can't resize them.

Quote:
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.

Quote:
color:Olive;
What's the background colour? How do you know that I haven't got an
olive background in my user stylesheet?

Quote:
overflow: hidden;
How do we read the content when it's larger than the container?

Quote:
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.

Quote:
z-index: 7;
padding: 0 0 0 0;
margin: 0 0 0 0;
Wouldn't margin: 0; and padding: 0; be quicker?

Quote:
}
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 <steve (AT) pugh (DOT) net> <http://steve.pugh.net/>


Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.