Logo Image Reloads with each link click
Posted: 10 September 2008 11:50 PM   [ Ignore ]
Newbie
Rank
Total Posts:  2
Joined  2008-09-10

My logo image on the top left is supposed to stay put when you click through the menu but for some reason it keeps reloading with each click. It just started having this problem today when I made one minor tweak to the image and reloaded it. I’ve tried making the image smaller, and loading it as progressive and not progressive. Any idea what could be causing this? The website is emsquem.com.

Here’s the code

#logo{
    
overflow:hidden;
    
padding:242px 0 0 0;
    
backgroundurl(http://emsquem.com/ndxz-studio/site/img/emsquem_logo2.jpg) no-repeat left top; 
    
height:0px;
    
width:264px;
    
height:0px !important;
    
height /**/:242px;
    
display:block;
    
margin-left:-35px;

}
#logo:hover{
    
background-position:left -242px;    
Profile
 
 
Posted: 24 September 2008 05:36 AM   [ Ignore ]   [ # 1 ]
Jr. Member
RankRank
Total Posts:  38
Joined  2007-09-03

Don’t know if you have fixed this problem since you posted - I just visited your site (looks nice, b.t.w) and even in IE I didn’t find a logo flicker that was particularly noticeable.  Anyway, apart from logo size etc one of the main reasons is the fact that IE insists on fetching the image from the server even when it has a perfectly valid copy in its local cache. However, you can oblige it to do this.  The subject has been discussed at some length here

Profile
 
 
Posted: 25 September 2008 05:41 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  2
Joined  2008-09-10

Thanks for your feedback. I actually am pretty sure the image file had something wrong with it (though I’m not sure what), so I created a new one and that solved the problem.

Profile