Forums / Templates, Stylesheets, Page Layout / Background image not showing in IE7

Background image not showing in IE7

Locked

Views: 5,985

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
14 Mar 2007, 7:14 PM
#1
kemikel avatar

kemikel

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

Background image not showing in IE7

Hello, and thank you in advance for your help.

I am workin on a custom template for Zen Cart v1.3.7 - I have added a background image to #headerWrapper, #contentMainWrapper, and #navSuppWrapper.

All works fine except the background image does not appear in the #contentMainWrapper in IE7, works in latest releases of FireFox, Opera and Netscape though.

here is the css for each...

#headerWrapper{
margin: 0em;
padding: 0em;
background: url(../images/headwrapper_743_150.gif) no-repeat top center;
}
#contentMainWrapper{
width:100%;
margin: 0em;
padding: 0em 1em 0em 1em;
background: url(../images/contentmain_tile_743_50.gif) repeat-y top center;
}

#navSuppWrapper{
margin: 0em;
font-weight: bold;
color: #333333;
height: 100px;
width: 100%;
background: url(../images/navsuppwrapper_743_120.gif) no-repeat bottom center;
}

Any Idea's? Let me know if further information would help diagnose this problem.

Thanks, Ryan

14 Mar 2007, 8:28 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Background image not showing in IE7

The URL where the problem can be seen?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

14 Mar 2007, 8:28 PM
#3
kemikel avatar

kemikel

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

Re: Background image not showing in IE7

Ok

I solved my problem.

For some reason I had to remove the #FFFFFF background from the sidebox wrappers on each side. I had them pushed in with padding on the #contentMainWrapper, but IE7 did not appreciate my background image enough to show it.:(

I also had to set a min-width for the #headerWrapper in order to eliminate a cut off on the bottom of my bg image in that div.

14 Mar 2007, 8:30 PM
#4
kemikel avatar

kemikel

New Zenner

Join Date:
Mar 2007
Posts:
8
Plugin Contributions:
0

Re: Background image not showing in IE7

Thanks for replying Kim.

Does my solution sound like the right direction?

14 Mar 2007, 8:32 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Background image not showing in IE7

Probably- but it is difficult to diagnose what you can't see.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.