Google Answers Logo
View Question
 
Q: Cascading Style Sheet Problem using Netscape 4.7 ( Answered 5 out of 5 stars,   2 Comments )
Question  
Subject: Cascading Style Sheet Problem using Netscape 4.7
Category: Computers > Internet
Asked by: respree-ga
List Price: $10.00
Posted: 15 Aug 2002 13:25 PDT
Expires: 14 Sep 2002 13:25 PDT
Question ID: 54962
I am trying to reduce the font size of my H1 tag using Cascading Style
Sheets. It appears to work fine with IE, but when I view the page in
Netscape 4.7, the browser is ignoring the CSS command.  The research
I've done indicates that Netscape 4.X supports CSS and I can't figure
out why this doesn't work.  Below is the syntax I'm using.  A sample
of the wrong display can be found at:

http://www.respree.com/product/pages/sku/LNYG7770

Question:  Is there an error in my syntax below or am I wrong in
thinking NS 4.7 supports the CSS syntax below.  If the syntax is
wrong, please provide the correct syntax.

<STYLE TYPE="TEXT/CSS">

<!--

h1 {  font-family: Verdana; font-size: 10pt; font-style: normal;
line-height: normal; font-weight: normal; font-variant: normal;
text-transform: none; color: #000000}

body { margin-top: 0px; }

-->

</STYLE>
Answer  
Subject: Re: Cascading Style Sheet Problem using Netscape 4.7
Answered By: aditya2k-ga on 15 Aug 2002 13:51 PDT
Rated:5 out of 5 stars
 
Hi respree and thanks for your question,

   I viewed the webpage with IE (5.50.4134.0600) and Netscape 4.7. The
page appears similarly in both browsers. The CSS code syntax is
correct and it displays correctly on Netscape 4.7. I've uploaded
screenshots to confirm this. Netscape 4.x has been known to cause
problems with CSS, but in your case there doesn't seem to be any
problems

IE screenshot
http://eden.host.sk/IE.jpg

Netscape screenshot
http://eden.host.sk/Netscape.jpg

(Note : The images are around 100KB each and takes close to 25 seconds
to download using a dial-up)


Related URLs

CSS & Netscape 4 
http://pnut.studiowhiz.com/archives/000059.php
"For those of you working in CSS and thinking, what about the old
folks using Netscape 4.7. What are they going to see? Netscape 4.7
often breaks your nice CSS page layouts, and given that this is a 4+
year old browser there is not a lot you can do. However there is a
nifty trick that allows you to have a message display in older
browsers and not in newer ones."

CodeBitch’s Netscape 4 Crasher Pages
http://www.macedition.com/cb/nn4crashers/
"Netscape 4.x is the single biggest obstacle to standards-based web
design. Graceful degradation is one thing but crashing on legal,
standards-compliant HTML and CSS is quite another. This part of the
MacEdition site documents all the reasons why Netscape 4.x has got to
go."


Cheers,
aditya2k

Search Terms
Netscape 4.7 CSS
Netscape 4.x CSS

Request for Answer Clarification by respree-ga on 15 Aug 2002 14:12 PDT
Hi aditya2k and thank you for such a prompt response.

I am really baffled by the correct display on your screencap of NS
4.7, which indeed shows the font-size in the H1 tag being reduced to
the desired size.

I can only conclude that it is something unusual with my NS browser
settings, but if I look in my 'preferences' everything looks normal.
Any idea what that might be?

Thanks again.

Clarification of Answer by aditya2k-ga on 15 Aug 2002 14:41 PDT
Thanks for the rating.

Thanks to wengland for the comment.

Hope you enjoyed using this service.

Cheers,
aditya2k
respree-ga rated this answer:5 out of 5 stars
Reviewer comments were super fast, correct and lead me to the correct
conclusion to the problem.

Comments  
Subject: Re: Cascading Style Sheet Problem using Netscape 4.7
From: wengland-ga on 15 Aug 2002 14:06 PDT
 
Could be as simple as you have Javascript turned off.  There are two
settings, one to turn Javascript off, and one to turn CSS off. 
However, in Netscape, it uses the Javascript engine to render CSS.  If
you turn Javascript off, it'll turn CSS off without telling you.

Just a thought...
Subject: Re: Cascading Style Sheet Problem using Netscape 4.7
From: respree-ga on 15 Aug 2002 14:25 PDT
 
Problem resolved.  You were very close, I had my "Enable Style Sheets"
box unchecked in my 'NS Preferences.'  Thanks.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy