Re: Netscape reverses order of images

by "Rick Bradley" <rick(at)fjbradley.com>

 Date:  Fri, 19 Oct 2001 01:38:06 -0400
 To:  Larry Coats <lcoats(at)gte.net>
 Cc:  hwg-style(at)hwg.org
 In-Reply-To:  gte
  todo: View Thread, Original
Larry:

> >>"Navigator 4 does not support links to multiple style sheets. If you 
> >>link to more than one .css file from your HTML file, Navigator will use 
> >>only the first one."
> >>
> >>I didn't look at your stylesheets since my guess is that this is the 
> >>answer to your problem.
> >>
> > 
> > Would that it were. I combined the two sheets (and found that we'd better tidy
> > them up before one bites us) into index.css but the effect is unchanged.
> 
> OK. I did a quick check with my Netscape 4.61, and it can indeed handle 
> multiple <.link>'s. Since Steven Mulder mentioned that NN4 doesn't 
> support that, I'd guess that this capability got added somewhere along 
> the line - some earlier versions of NN4 probably don't support this 
> (probably any before 4.5, but that's just a guess). Something to think 
> about if you want to support all releases of NN4.
> 
> Anyway, that's not what's causing the problem in 4.61. I did a lot of 
> playing around, and I finally discovered that if you remove the style 
> attributes from all of the img tags, the images do display in the 
> correct order. Since all you were specifying in those was border, width 
> and height, I can't imagine why this is the case, but that's the way it is.
> 
> I also discovered that if you specify those items in classes, and use 
> class="classname" in the img tag instead of a style attribute, the 
> images don't get rearranged and the page layout is similar to that in 
> NN6. However, the borders don't get elminated in NN4, and there are some 
> other problems you'd need in the right side to work out to get it to 
> look good in NN4.
> 
> Hope that helps some.

That helps a whole lot. Thank you.

I just tried it with only one style="border:0" and the right side contents filled the 
entire page. It gets curiouser and curiouser!

I may have to live with the borders but there's a great tutorial at 
http://www.webreference.com/authoring/style/sheets/layout/advanced/ which, 
if memory serves, addresses the background colour problem in Netscape.

Once again, thank you for your help.

Regards
F.J. (Rick) Bradley
F.J. Bradley & Associates
http://www.fjbradley.com/
tel 519 354 4604       fax 519 354 6717
265 Oxley Dr. Chatham, ON, Canada N7L 4S8

No plan survives contact
          -- Erwin Rommel

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.