homepage Welcome to WebmasterWorld Guest from 54.227.56.174
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Visit PubCon.com
Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

    
Background image loads last in firefox
but first in IE
Doood




msg:1590374
 5:19 pm on Jan 24, 2006 (gmt 0)

My background image loads fine but in firefox the background image in a table on the page only loads once the rest of the entire page has loaded. This is a logo image so it needs to load right away instead of being delayed.

IE loads this tables background immediately but firefox has a delay. The image it at the top of the page and I tried putting it in a style sheet a the top and it still had a delay.

I read where others tried to preload the background but it still had a delay in firefox. No problems with IE though.

Anyone else have this problem or heard of a fix?

 

tedster




msg:1590375
 11:36 pm on Jan 24, 2006 (gmt 0)

The only fix I know of is to place essential images in the foreground. The rendering engines just do what they're programmed to do.

Rani




msg:1590376
 7:20 pm on Jan 27, 2006 (gmt 0)

I recently switched from IE to Firefox and i notice that
Firefox is a little bit slower than IE in displaying images.
There is another problem:
There is an html code - bgproperties="fixed".This is to have the background fixed while scrolling so there is an illusion of the text "gliding" upon the background.
I had this perfectly working with IE but not with Firefox.
Does any body know how to fix this?

Span




msg:1590377
 7:51 pm on Jan 27, 2006 (gmt 0)

It is not nice to hijack someone else's thread, Rani.

bgproperties="fixed" is proprietary Microsoft code and has never been valid in any version of HTML. If you want to fix your background image you have to use a bit CSS.

body {
background-image:my_image.jpg;
background:position:center top;
background-repeat:no-repeat;
background-attachment:fixed;
}

or, in shorthand:

body {
background:url(my_image.jpg) no-repeat fixed center top;
}

Background properties [w3schools.com]

Rani




msg:1590378
 8:52 am on Jan 28, 2006 (gmt 0)

Hi Span,
Thanks for the tip.It works.
Sorry for the hijack.
I intentionally searched for a thread about Firefox to post my question.

How should i have done it differently?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved