Google Answers Logo
View Question
 
Q: New website break in Netscape 4 ( Answered,   0 Comments )
Question  
Subject: New website break in Netscape 4
Category: Computers > Programming
Asked by: srv-ga
List Price: $10.00
Posted: 06 Aug 2002 23:09 PDT
Expires: 05 Sep 2002 23:09 PDT
Question ID: 51604
Hi,
We have designed a new website - www.iseekgolf.com - and unfortunately
we only noticed at the last minute that the pages break really badly
in Netscape 4. The site was hand coded and works on every browser - no
rpoblems and we cannot figure out what is wrong with the code - if
anything. The site was written in PHP/HTML with a mySQL backend. The
HTML is nothing unusual....whihc makes the problems even
weirder!....Thanks and hoep someone can help!
Answer  
Subject: Re: New website break in Netscape 4
Answered By: joseleon-ga on 07 Aug 2002 01:24 PDT
 
Hello, srv:
  At first glance, it seems a CSS problem, there are many changes on
it after Netscape 4. I downloaded the full page with mozilla and
removed the CSS file from your code. If you do the same, you will see
the webpage "looks" good (there are another problems).
  
W3C CSS Validation Service
http://jigsaw.w3.org/css-validator/validator-upload.html

Errors
URI : file://localhost/iseek.css

    * Line: 13 Context : .radiob

      Invalid number : borderattempt to find a semi-colon before the
property name. add it
    * Line: 13 Context : .radiob

      Invalid number : background-colornone is not a color value :
none white
    * Line: 14 Context : .radiob

      Invalid number : colornone is not a color value : none white
    * Line: 474 Context : .sf

Parse Error - .date {font-family: verdana, geneva, arial, sans-serif;
font-size: 11.75px; font-weight: bold; color: #ff5500; }

I have fixed those errors, but your error is here:

input,textarea, select {
	color : #000000;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	border-color : #000000;
	background-color : #e5e5e5;
        border: solid 1px #666666  	
}

Remove the last line to be:
input,textarea, select {
	color : #000000;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	border-color : #000000;
	background-color : #e5e5e5;
        border: solid 1px #666666  	
}

This doesn't solves all your Netscape related problems, but the one
you ask in your question.

Regards.
P.S.I have also checked your website with Opera and looks good, but
there are some javascript problems. (Drop down menus don't work).

Clarification of Answer by joseleon-ga on 07 Aug 2002 01:24 PDT
input,textarea, select { 
 color : #000000; 
 font: normal 11px Verdana, Arial, Helvetica, sans-serif; 
 border-color : #000000; 
 background-color : #e5e5e5; 
} 

Sorry, your CSS element must be this way, without the last line.

Regards.

Request for Answer Clarification by srv-ga on 07 Aug 2002 02:03 PDT
Hi,
Thanks for the answer...
The only problem with takign away the border is how to I replace it or
do I just run some javescript to test for netscape and then use two
files? So will taking away that one line fix all those weird drop down
problems where it all goes in one box and the right hand side bar
displays properly?

Thanks
Jason

Clarification of Answer by joseleon-ga on 07 Aug 2002 02:09 PDT
Hello:

  You could use the following trick, add this lines to your pages,
instead of your css include:
  
<link rel="StyleSheet" href="YOURNETSCAPECSS.CSS" type="text/css" />
<style type="text/css">@import url("YOURNORMALCSS.CSS"); </style>

Netscape will use the first loaded styles and the rest of browsers
will use the last, this works for me on my company site, so there must
be no problem with yours.

I hope it helps.

Regards.

Request for Answer Clarification by srv-ga on 07 Aug 2002 05:00 PDT
Thanks....
But what about taking away that 1 pixel border?....how is that going
to affect the look in netscape and how do i replace it? and will that
fix the dropdown menus rendering as boxes full of text in netscape 4?

I really just need it explained a bit more as to how to fix the entire
front page not rendering in NS4?..is it just the 1 pixel border
causing it all?

Thanks again...

Clarification of Answer by joseleon-ga on 07 Aug 2002 06:15 PDT
Hello, srv:

 The problem with that pixel is that Netscape 4 is not able to process
correctly that CSS extension and is not able to render well the page,
that's all, try it and you will see. This won't fix the problem with
dropdown menus, it's a complete different problem, the javascript you
used is not fully compliant with Netscape 4 or Opera. You will need to
contact your script provider or use another menu script which work on
every browser. If you change this line on your CSS the web will
*render* well on Netscape (this was your question), this doesn't mean
will *work* well on Netscape, you must thoroughly test all your site
with Netscape 4 to see if works, this is a big task you must perform.
I normally test my sites with Netscape while building to avoid that
situation.
 
Regards.
Comments  
There are no comments at this time.

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