|
|
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> |
|
Subject:
Re: Cascading Style Sheet Problem using Netscape 4.7
Answered By: aditya2k-ga on 15 Aug 2002 13:51 PDT Rated: |
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." CodeBitchs 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 | |
| |
|
respree-ga
rated this answer:
Reviewer comments were super fast, correct and lead me to the correct conclusion to the problem. |
|
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. |
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 Home - Answers FAQ - Terms of Service - Privacy Policy |