Forum Moderators: open

Message Too Old, No Replies

Is there a way in HTML to redirect Netscape users

My site does not display in Netscape7, only IE6

         

Web Footed Newbie

2:10 am on Jul 2, 2003 (gmt 0)

10+ Year Member



Is there a way to redirect Netscape users so that I can build an adjacent site for Netscape users?

My HTML validates and my CSS validates, but the rendering of my CSS does not work in Netscape7.

I asked over at the CSS thread a similar question, but I think the HTML thread is where I need to be on the redirect question.

Or even better, should I not even worry about the 1% that use netscape?

Thanks in advance, WFN :)

jdMorgan

2:57 am on Jul 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmmm... Using my new Netscape 7.1 browser to answer your question, you'll need to use JavaScript client-side, or .htaccess or a script server-side to detect the user-agent and redirect to the proper page.

If it is the styles that are causing trouble, why not just load different external stylesheets for NS vs. everybody else? ...How you fix this really depends on what the exact problem is.

HTH,
Jim

hartlandcat

6:24 am on Jul 2, 2003 (gmt 0)

10+ Year Member



"Not displaying properly in Netscape 7" is not really enough info. Please can you say exactly what isn't displaying the way it should. If your page vailidates, then it should work fine in Netscape 7.

Don't make an ajacent site for Netscape users -- you shouldn't have to. Change something about your current design to make it work in Netscape. I'm sure it's only a minor glitch somewhere. Nearly all other sites work fine in Netscape 7, why shouldn't yours?

One more thing... never re-direct Netscape users telling them to use a different browser. As a Netscape 7.1 user myself, I'd rather see a crippled page than no page at all.

Yes you will worry about Netscape, because it's not just 1% of people that use it. Most websites will recieve from 5% to 25% Netscape users. My site gets around 14%, AND it's a hobyist site. What is the general nature of you site? (i.e. comercial, hobyist, children, techie etc.). I can help you estimate your probable Netscape traffic (unless you've had this site up for a while and already know).

Web Footed Newbie

12:38 pm on Jul 2, 2003 (gmt 0)

10+ Year Member



Thanks, hartlandcat. Here is the scoop:

All of my text and colors work fine, but the page that is rendered in Netscape does not show my CSS layout properly (header, left column, center column, right column, and footer).

I'll find the glitch I am sure. Just taking a while! As for traffic on my business site, I see in my logs about 3% so far (5 months), but this is sure to change. So I want to be sure I'm designing for everyone (regardless of percentage, I want all users to buy my stuff!)

Thanks, WFN:)

universalis

1:29 pm on Jul 2, 2003 (gmt 0)

10+ Year Member



All of my text and colors work fine, but the page that is rendered in Netscape does not show my CSS layout properly (header, left column, center column, right column, and footer).

Let's see... I'm guessing you have an incomplete DOCTYPE that triggers quirks mode, and you authored your site with CSS positioning in IE? If this is the case, replace the DOCTYPE with a full one such as this:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

And do a search here for "box model hack". You find a load of articles on the subject which should help you get your layout straight in IE and Netscape. Don't forget the CSS forum [webmasterworld.com] too!

Web Footed Newbie

1:39 pm on Jul 2, 2003 (gmt 0)

10+ Year Member



Thanks, universalis,

The DOCTYPE you mention is exactly what I am using. And my HTML DOES validate, along with my CSS, using w3c site for validation.

As for the box type, I did not believe I needed the "hack" since my CSS is a static design, not a fluid design.

I'm aware of the one hack for IE, but I guess I need to find another hack for displaying on netscape. I'll check and let you guys know.

Thanks, WFN

hartlandcat

3:54 pm on Jul 2, 2003 (gmt 0)

10+ Year Member



Perhaps you'd like to send me a private message with the link to your site, so I can look to see what the problem might be.