Add your company details to our Business Directory, for FREE!


Graphic Design Forums: UK forums for graphic designers » Website Design Forums: » Website Coding & Programming Forum: » Image displaying weird

Reply
Old 09-07-2010, 06:56 PM   #1
Administrator
 
Boss Hog's Avatar
 
Join Date: Mar 2008
Posts: 3,189
Thanks: 486
Thanked 443 Times in 351 Posts
Default Image displaying weird

Hopefully somebody can help.

Take a look here > Shrewsbury Plumber

When it loads it all displays perfectly (IE8), however, if I scroll down a little so the logo is no longer visible at all, then scroll back up the logo is no longer sized perfectly (only slightly), if I then left click on some text in the body of the page it snaps back to shape, does anybody else see this, I know IE is crap but is this my code? Any ideas?

Many thanks

Damon
__________________
PRINTING: Business Cards | Letterheads | Leaflets | Flyers | Resell Print?



GDF BUSINESS DIRECTORY (FREE)
Boss Hog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 09-07-2010, 10:48 PM   #2
djb
Senior Member
 
djb's Avatar
 
Join Date: Apr 2010
Location: Farnham, Surrey
Posts: 347
Thanks: 30
Thanked 51 Times in 49 Posts
Send a message via Skype™ to djb
Default

I think you may have fixed it already as I can’t see anything wrong so I won’t dirty my mac by starting windows on it to check (I did run it through Browserlab though).

One thing I did notice was a couple of extra bits on the header div style:

background: url("shrewsbury-shropshire-plumber.gif") no-repeat scroll left center #595A5C;

Not sure you need that scroll, left center bit. I think this should be fine:

background: url("shrewsbury-shropshire-plumber.gif") no-repeat #595A5C;

I always go through my CSS after I’ve got it all working and chop out any extra bits - apologies if you’ve just not got round to this yet.
__________________
David John Bennett
Graphic and Web Designer, Farnham, Surrey
djb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 09-08-2010, 11:13 AM   #3
Administrator
 
Boss Hog's Avatar
 
Join Date: Mar 2008
Posts: 3,189
Thanks: 486
Thanked 443 Times in 351 Posts
Default

Thanks for that, it is still doing it though, can anyone else see this in IE8?

Removing that code from the CSS doesn't position the logo as needed.

Cheers

D
__________________
PRINTING: Business Cards | Letterheads | Leaflets | Flyers | Resell Print?



GDF BUSINESS DIRECTORY (FREE)
Boss Hog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 09-08-2010, 11:32 AM   #4
djb
Senior Member
 
djb's Avatar
 
Join Date: Apr 2010
Location: Farnham, Surrey
Posts: 347
Thanks: 30
Thanked 51 Times in 49 Posts
Send a message via Skype™ to djb
Default

OK, for my crimes (of not being very helpful) I have had a look in IE8 and yes, it's doing the same for me. It really does all look fine though which is strange, so I'm afraid I'll continue the theme of not being helpful and ask do you need this on the header - as it doesn't seem to have a border?

border-color:-moz-use-text-color;
border-left:0 solid;
border-right:0 solid;
border-style:solid;
border-width:0 0 1px;

That 1px at the end could be doing it?
__________________
David John Bennett
Graphic and Web Designer, Farnham, Surrey
djb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 09-08-2010, 11:40 AM   #5
Administrator
 
Boss Hog's Avatar
 
Join Date: Mar 2008
Posts: 3,189
Thanks: 486
Thanked 443 Times in 351 Posts
Default

ok removed that code and still no different.
__________________
PRINTING: Business Cards | Letterheads | Leaflets | Flyers | Resell Print?



GDF BUSINESS DIRECTORY (FREE)
Boss Hog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 09-08-2010, 11:55 AM   #6
djb
Senior Member
 
djb's Avatar
 
Join Date: Apr 2010
Location: Farnham, Surrey
Posts: 347
Thanks: 30
Thanked 51 Times in 49 Posts
Send a message via Skype™ to djb
Default

What about making that background image the same size as the header div and losing all of that scrolling business. Short of taking your css and rebuilding it in a different way I’m not too sure of what to suggest as you’ve built it in a way I’ve not seen before - I tend to use several container divs to get stuff the right width and in the centre - and I wonder if how you’ve done it is all a bit technical for IE?

Anyone else got any suggestions?
__________________
David John Bennett
Graphic and Web Designer, Farnham, Surrey
djb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 09-08-2010, 12:10 PM   #7
Administrator
 
Boss Hog's Avatar
 
Join Date: Mar 2008
Posts: 3,189
Thanks: 486
Thanked 443 Times in 351 Posts
Default

Sorted, thanks for that finally managed to get this right
__________________
PRINTING: Business Cards | Letterheads | Leaflets | Flyers | Resell Print?



GDF BUSINESS DIRECTORY (FREE)
Boss Hog is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Old 09-08-2010, 06:10 PM   #8
Moderator
 
Corrosive's Avatar
 
Join Date: May 2010
Location: Bristol, UK
Posts: 794
Thanks: 119
Thanked 172 Times in 140 Posts
Default

Quote:
Originally Posted by djb View Post
I tend to use several container divs to get stuff the right width and in the centre - and I wonder if how you’ve done it is all a bit technical for IE?
I believe that is what is referred to as a nasty case of divitis It can lead to bloated and unnecessary code so watch that one.

IE should be able to handle this if it is to call itself a browser! That said, it clearly can't but Boss Hog's fix looks like a good one. One for the 'watch out' list when considering IE and all it's wonderful 'quirks'.
Corrosive is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookStumble this Post!Twit this!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Flyer Printing | Print Reseller Scheme | Graphic Design | Logo Designer | Web Design UK | Graphic Design UK | Letterhead Printing
Business Card Printing | UK Business Forum | Logo Designer | NCR Pads | NCR Books | Receipt Books | Drinks Coasters | A6 Flyers | A5 Leaflets
Web Design & Development | vBulletin Skins | Small Business Websites | Leaflets | Leaflet Printing | Web Design Liverpool | Invoice Books


DISCLAIMER: All posts on this forum express the views and opinions of the author only, not the owners, staff or advertisers, hence we will not be held liable.


Powered by vBulletin®
© Copyright Jelsoft Enterprises Ltd
SEO by vBSEO 3.2.0 RC5 ©2008, Crawlability, Inc.