CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 18th, 2012, 09:22 AM
thall89553 thall89553 is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,702 thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 18 h 38 m 9 sec
Reputation Power: 66
Send a message via Yahoo to thall89553
Why is Footer BG Image Appearing Twice

On this site www.jimstrans.com if you look at the layout in IE8 or IE9 you'll see the footer bg appears twice. But in IE7 it looks as it should. Can someone please take a look and let me know what's going on? I would appreciate it very much. Tom
__________________
Today the world, tomorrow the universe...

Reply With Quote
  #2  
Old October 18th, 2012, 01:47 PM
aeternus's Avatar
aeternus aeternus is offline
For POny!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Location: Amsterdam
Posts: 416 aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 4 h 56 m 43 sec
Reputation Power: 114
it is not.

(check your css, it clearly states: no-repeat)
__________________
PHP Tutorial

Reply With Quote
  #3  
Old October 18th, 2012, 04:35 PM
thall89553 thall89553 is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,702 thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 18 h 38 m 9 sec
Reputation Power: 66
Send a message via Yahoo to thall89553
Thanks, on my computer, IE9, the footer bg shows up twice, one w/ the navigation links, one without. T

Reply With Quote
  #4  
Old October 18th, 2012, 04:51 PM
aeternus's Avatar
aeternus aeternus is offline
For POny!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Location: Amsterdam
Posts: 416 aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 4 h 56 m 43 sec
Reputation Power: 114
Ah I see what you mean.
I have a feeling this is the result of the conditional comments. If I inspect it in IE9 There is an anchor that has some markup in it that is missing end-tags. You might want to remove the conditional stuff (in this manner).

To be honest I would not put html in conditional comments, or atleast more sparingly (like: your browser sucks upgrade). Rather use an extra style sheet between conditional comments. That way the content for all browsers is the same.

Have a look at the image I attached:


edit: yep it's definetly the conditional comments
run this:
Code:
<!--[if IE 7]><!-->lalalala<!--<![endif]-->

Wont show up in IE9, so you break your page

Last edited by aeternus : October 18th, 2012 at 05:01 PM.

Reply With Quote
  #5  
Old October 18th, 2012, 05:26 PM
thall89553 thall89553 is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,702 thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 18 h 38 m 9 sec
Reputation Power: 66
Send a message via Yahoo to thall89553
Gotcha! Thanks so much for solving the mystery!

Last edited by thall89553 : October 18th, 2012 at 05:30 PM.

Reply With Quote
  #6  
Old October 18th, 2012, 05:33 PM
aeternus's Avatar
aeternus aeternus is offline
For POny!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Location: Amsterdam
Posts: 416 aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 4 h 56 m 43 sec
Reputation Power: 114
Quote:
Originally Posted by thall89553
First of all, I sincerely thank you for your help, it is very much appreciated.

I am not quite sure I am following you on what I need to do to fix this issue though. Would you please help me better understand what I need to do? Thank you!

I have a feeling you didn;t write the code than

In a nutshell your conditional comments are messing things up. Conditional comments (you may want to google it ) are little snippets of code that anything but IE understands.
In your code you have snippets like this
Code:
<!--[if IE 7]><!--></a><!--<![endif]-->

The problem is that depending on your browser the end tag (</a>) which is inside that if you look closely wont show up.

So in order to fix this I suggest your simply remove these snippets and replace them with the end-tag that is inside them:
from
<!--[if IE 7]><!--> </a> <!--<![endif]-->
to
</a>

I hope this helps

Moreover (as earlier suggested)
if you want a different style for say IE7 and lower, you can put a stylesheet in between conditional comments like so:
Code:
<!--[if lte IE 7]>
 you can put you link to your stylesheet in here
<![endif]-->

Last edited by aeternus : October 18th, 2012 at 05:37 PM.

Reply With Quote
  #7  
Old October 18th, 2012, 05:36 PM
thall89553 thall89553 is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jan 2004
Location: Budapest
Posts: 1,702 thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level)thall89553 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 18 h 38 m 9 sec
Reputation Power: 66
Send a message via Yahoo to thall89553
Thanks again, I've been dealing with that issue now for years and just got around to dealing with it. You really helped me out, next time your in the Northern Cal area let me buy you lunch. ;-)

Reply With Quote
  #8  
Old October 18th, 2012, 05:39 PM
aeternus's Avatar
aeternus aeternus is offline
For POny!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2012
Location: Amsterdam
Posts: 416 aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level)aeternus User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 5 Days 4 h 56 m 43 sec
Reputation Power: 114
Quote:
Originally Posted by thall89553
Thanks again, I've been dealing with that issue now for years and just got around to dealing with it. You really helped me out, next time your in the Northern Cal area let me buy you lunch. ;-)

lol, thanks! I see you're from Budapest, not sure when I will be around there

Have fun!

Last edited by aeternus : October 18th, 2012 at 05:42 PM.

Reply With Quote
  #9  
Old October 18th, 2012, 08:18 PM
jack13580 jack13580 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 143 jack13580 User rank is Second Lieutenant (5000 - 10000 Reputation Level)jack13580 User rank is Second Lieutenant (5000 - 10000 Reputation Level)jack13580 User rank is Second Lieutenant (5000 - 10000 Reputation Level)jack13580 User rank is Second Lieutenant (5000 - 10000 Reputation Level)jack13580 User rank is Second Lieutenant (5000 - 10000 Reputation Level)jack13580 User rank is Second Lieutenant (5000 - 10000 Reputation Level)jack13580 User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 5 Days 1 h 1 m 50 sec
Reputation Power: 75
another thing if you want a specific elements for all IE versions only just do <!--[if IE]> <![endif]-->

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Why is Footer BG Image Appearing Twice

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap