Forum Moderators: open

Message Too Old, No Replies

Designing for old browsers

         

liza

2:26 am on Apr 12, 2004 (gmt 0)

10+ Year Member



I recently designed a site using Netscape Communicator 7.0. It looked as I intended in both the newer Netscape and Internet Explorer. I thought everything was fine until I saw it in Netscape 4.7 -- which is what the person for whom I designed the site happened to have. (Imagine my panic when I showed them the site on their computer!) My tables and alignment were totally different. Text that was supposed to be above or below images ended up next to it instead. Basically, almost everything that was supposed to be in a vertical line ended up horizontal.

My question is, how do I know how something is going to look in older browers without checking it in every old version? Is this something that I should be concerned about, or is it acceptable to just design something so it looks OK in current browers? It's nerve-wracking to think that the person I designed the site didn't see it the way it was supposed to look, but I don't know if he is the exception or the rule.

D_Blackwell

4:19 am on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The necessary extent of testing and compatibility depends upon the target audience. I think most designers ignore NN 4 now, but a big ecommmerce site (or even not so big) might not want to give up any percentage of potential dollars. Evidently, some government agencies and schools still use the thing in some numbers. This could be important to you. (Hard to imagine many owners with NN 4 that would have any money to spend on a website.)

I do not design for NN 4, and wouldn't be interested in doing so. (But that's me.) You should establish up front what browsers a given site should render well with. This will prevent the current problem from coming around again. I design in Firefox - test in IE 6 to fix any of IE's problems - test in current versions of Opera, NN, AOL - test in NN 6 - and if necessary, test in IE 5.5. (IE 5.5 is unimportant for most of my sites, and I have the luxury of just being generally aware of what things look like. Others will tell you differently. It all depends upon the owner and the audience.)

how do I know how something is going to look in older browers without checking it in every old version?

You don't. I keep on old machine for IE 5.5, and run all the others on my main machine. Be sure to set up separate profiles for the NN and Mozilla configs, and they will get along fine. I fired up NN6 in Mozilla 1.5 and had a real mess. Wound up uninstalling NN6 completely and starting over.

I don't have the capacity to test in Macs, and often fret about it, but never get complaints and their stats for most of my sites are next to nothing anyway.

liza

5:33 am on Apr 12, 2004 (gmt 0)

10+ Year Member



Some background if this helps....the site is for one department of a local nonprofit. More accurately, it's a new section of that organization's existing site. They've got mostly older iMacs, and the person for whom I'm working directly doesn't really use computers much, which explains why he's running such an outdated browser.

Most visitors to this site will probably be "private" people, as opposed to people in schools or government. Also, since the organization is of interest mainly to people in the area, the number of visitors is kind of automatically limited.

One other thing: the part I didn't design is pretty old, so it works with older browsers. As I'm kind of new at this, I don't want my section to stand out as not working. But I don't know if the rest of the site is something that I should let determine how I do this part.

asquithea

8:53 am on Apr 12, 2004 (gmt 0)

10+ Year Member



It does sound like your target audience is NN 4.7, unfortunately. Better dig out those old copies of Netscape :-(

Start by making sure your code is 100% correct -- run it through an online validator.

Eliminate most of the CSS -- there are a few tricks you can use that will do this for NN only.

Don't start hacking in table layouts. For a browser that old, and a non public facing website, content is far more important than style, and table layouts are asking for grief later on.

Use the very simplest of CSS1 to make it look minimally nice, but don't get in a twist if it doesn't look as nice as the version designed for N7.0.

TheDoctor

10:19 am on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, liza.

It's not true that you can't do much with CSS to please NN4, but you have to avoid letting it see such things as "float". Essentially, you have to have two designs: a minimal one for NN4 and one for those with more modern browsers.

There are a number of ways of hiding rules from older browsers. You can find a list of them here [centricle.com].

The favourite is to use "@import", but a quick method is to hide things like "float" from NN4 by wrapping the rules in @media all{}, as in


<p class="x">This text floats, but not in NN4</p>

in your HTML, and, in your CSS,

.x { color:black; }
@media all{
.x { float:left; }
}

This method can get messy if you've got a lot to hide. In that case, use a separate CSS file to contain rules you don't want NN4 to see and hide it using @import.

You can get yourself a copy of NN4 from here [browsers.evolt.org].

tedster

12:22 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If this is like most of the not-for-profits I work with, the budget is limited. If that's the case and NN4 support is required, I would definitely use a table for the basic frame of the layout and CSS for the rest of it.

In my experience at leat, a CSS layout for NN4 doesn't happen without a lot of tweaking and work-around time.

TheDoctor

1:19 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It's only the "owner" of the site who's using NN4, not the mass of visitors. NN4 is perfectly simple to handle provided you do it with care. once you know what you're doing - and this isn't difficult - you can forget about it. CSS makes handling it so simple. The serious problems come with IE5.

Also, if you have users with very old machines, then download time is a serious consideration. For that reason, avoid tables-for-layout like the plague (unless you know your users are heavily into knitting).

txbakers

2:12 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Last I knew, browser upgrades were free. There is no excuse for even a non-profit operating in a broom closet to be using 4.7 anymore.

Strongly suggest that they upgrade.

encyclo

3:15 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Last I knew, browser upgrades were free. There is no excuse for even a non-profit operating in a broom closet to be using 4.7 anymore.

You're right, txbakers, but hardware upgrades are not free - and NN4 works just fine with 32Mb or RAM and a 90Mhz processor, whereas Netscape 7.1 requires at the very least a 233Mhz processor and 64Mb RAM (if you don't run anything else at the same time - and even then it's terribly slow). Many non-profits are running on ancient hardware such as this, and they aren't going to spash out $600 on a new computer just to view the fancy design. Most NN4 users love it for its excellent email client rather than the browser, anyway.

Tedster and TheDoctor indicate the way to go - a hybrid layout with basic non-nested tables to set the layout, and using @import to hide the unsupported styles from NN4.

Good luck!

DrDoc

3:22 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



but hardware upgrades are not free

So use FireFox instead!

encyclo

5:16 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



So use FireFox instead!

1) Firefox just won't run on the same hardware as NN4. It needs less than the Mozilla suite/Netscape 7, but it is still too much for pre-year-2000 machines.

2) It has not reached version 1.0 yet. I use Firefox personally, but it has some bugs and I can't recommend beta-quality software to a client.

3) Firefox is not a drop-in replacement for NN4 - there's no email client for one thing. What should I recommend to replace that? Lookout Express? (there are enough problems with viruses as it is). Thunderbird? (which is even more beta-quality than Firefox.)

People running ancient hardware tend to run ancient browsers, and it's not worth the hassle to upgrade the software to something that runs more slowly and (to the client) does less, even if Firefox has better standards-compliance. To paraphrase a political commentator whose name escapes me, a webmaster complaining about browsers is like a ship's captain complaining about the sea. If the users need NN4 compatibility, then we need to provide it.

D_Blackwell

5:41 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If the users need NN4 compatibility, then we need to provide it.

We pave the roads these days, and don't allow horses and wagons on them. We can't take just any deathtrap out on the road. The practice of supporting these relics far beyond their useful or practical lifespan is bad for everyone. (But that's me.)

choster

5:55 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



We pave the roads these days, and don't allow horses and wagons on them.
It's been 120 years since the advent of the automobile, and three since the advent of the generation 6 web browser. There were plenty of horses and wagons on U.S. roads outside the major cities until the Second World War (60 years after the advent of the automobile). This client is not New York City, this client is Podunk, and at this point the road builder must still be equipped to deal with the occasional buggy or carriage. If you don't like it, don't leave New York.

vkaryl

11:09 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



1) Firefox just won't run on the same hardware as NN4. It needs less than the Mozilla suite/Netscape 7, but it is still too much for pre-year-2000 machines.

Beg to differ.... my "test-bed" machine is actually a 1998 AMD K-6 233. Has 2 40 gig hdds and 96 megs of RAM, and runs Firefox just fine thanks. As well as clear up to NS7 etc. About the only thing that WON'T run on it is WinXPPro - oh it installs and runs, but talk about molasses running uphill in January at the North Pole!

BinaryFragger

3:57 am on Apr 13, 2004 (gmt 0)

10+ Year Member



Evidently, some government agencies and schools still use the thing in some numbers.

While setting up a new account, I was surprised to see my bank representative fire up Nestcape4.

I don't think the archaic browser has much home usage left, but unfortunately it's still used commercially.

liza

3:47 pm on Apr 13, 2004 (gmt 0)

10+ Year Member



Thanks for all the suggestions.

To keep things easy, I think I will just take some of the tables out and hope that takes care of it. Unfortunately, my design is pretty dependant on tables-in-tables, and some of the alternatives that have been mentioned are a little advanced for what I know how to do.

Incidentally, this client does have a current (or relatively current, anyway) version of IE that he uses as his primary browser. It was me that opened this can of worms by attempting to show him the site in old NN! And I know that his particular machine is capable of running a newer version. Lesson learned. Next time, I will say, "I think you need to upgrade before we can go any further..."

DrDoc

2:48 pm on Apr 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Moral of the story -- Never show a client the Web site without first have tested it in most common browsers yourself.

R1chard

6:21 pm on Apr 14, 2004 (gmt 0)

10+ Year Member



Well, I'd still strongly recommend testing with Netscape 4. It's not that bad.

And besides, if somebody doesn't know how to upgrade (or they are in the majority of people who have a slow connection and can't download 10MB), then they'll just leave your site and go to the competitor who has provided a compatible website.

D_Blackwell- if you want to test on a Mac but don't have a machine, try danvine.com/icapture! It's pretty neat for the layout of static pages.

txbakers

7:45 pm on Apr 14, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



then they'll just leave your site and go to the competitor who has provided a compatible website

Not to drag this topic any further through the mud, but I think that argument is invalid as well.

I think most programmers and designers are forward looking rather than backward looking, and high-tech eCommerce sites will want to bring their customers forward as well.

It's easy to say that someone will find a competitor site, but if there aren't any compatible sites then the person will just have to deal with it.

R1chard

12:12 pm on Apr 15, 2004 (gmt 0)

10+ Year Member



^ That's the point. If you make your site compatible, then it gives you a competitive advantage over the others! It will stand out against sites that require Mozilla 3.0 with Flash 9 on Windows 2006.