Re: Browser nuances

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Murray (forums_at_HAHAgreat-web-sights.com)
Date: 03/12/05


Date: Sat, 12 Mar 2005 10:46:35 -0500

Your page linked below throws a js error when it loads -

"preload_images" is undefined.

This is coming from this call in the body of the frameset page -

<frameset rows ="72,*" onload="PreLoad()">

There is no such javascript function defined on that page or in the
externally linked js file (external.js), and that is therefore causing the
error.

Just another comment on style - your background image for the center frame
is ~50K itself. This image alone can take about 10 seconds to load on a 56k
dialup. Since your page weight budget is said to be around 40-50K, you have
therefore blown your whole budget on a single background image. I'd
reconsider.

With regard to your specific question, if you browse directly to the pop-up
slideshow page (i.e., without the window being resized and fixed) in either
FF or IE, you will see that the image is not left aligned in IE -

http://tandcl.homemail.com.au/slideshowauto.html?firstslide=1&lastslide=15'

I suppose that the reason it is being placed the way it is in these two
browsers is because of the CSS you have used -

IMG {
 BORDER-RIGHT: 0px;
 BORDER-TOP: 0px;
 FLOAT: left;
 BORDER-LEFT: 0px;
 BORDER-BOTTOM: 0px
}

I wouldn't float this image at all. Try changing that to this -

IMG {
 BORDER: 0;
margin:0 auto;
padding:0;
}

And see what happens.

-- 
Murray
============
"Trevor L." <tandcl@homemail.com.au> wrote in message 
news:eZhLKTqJFHA.2764@tk2msftngp13.phx.gbl...
> Hi to all,
>
> This is a topic I am pursuing at the moment. I am finding that Firefox 
> 1.0.1 displays differently from IE6. I don't know about the others as I 
> haven't downloaded any other browsers as yet (suggestions welcome)
>
> My site is at http://tandcl.homemail.com.au.
> Please check out the page Picture Album, then either of the Slideshow 
> buttons (they only differ in the set of pictures displayed).
>
> In IE6 the images are aligned top-left, in Firefox they are centred with a 
> small top margin.
>
> So while Murray states "A page that validates will usually display 
> properly in all browsers,
> depending on the methods you have used." in this case, the "usually" 
> doesn't apply.
>
> So some of the methods I have used must be inconsistent and I would be 
> interested in finding out more so that I can get consistency
> -- 
> Thanks,
> Trevor L.
>
>
> I choose Polesoft Lockspam to fight spam, and you?
> http://www.polesoft.com/refer.html
> 

Quantcast