|
|
 |
May 31st, 2007, 05:20 PM
|
#1
|
|
WebForumz Member
Join Date: Mar 2007
Location: indiana
Age: 26
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Disappearing Background Images (IE6)
Hi everybody!
I'm nearly finished designing a site at http://www.sugarmaplemedia.com/
That's the testing address.
I've got a problem when I view this in IE6. The background for the box with the gradient appears on the home page, but my other backgrounds disappear on every other page.
The css code is rather extensive, so I've posted it here: http://www.sugarmaplemedia.com/css.html
When I put the original image from the homepage on a different page, it doesn't disappear, so my notion is that I've done something differently with the other images or the rules surrounding them, I just can't see what!
I've tried adding position: relative; but no luck.
Any suggestions?
|
|
|
May 31st, 2007, 07:51 PM
|
#2
|
|
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,941
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: Disappearing Background Images (IE6)
First thing I would do is fix the few errors you have in validation. One of them might be the source of your headache!
|
|
|
May 31st, 2007, 08:24 PM
|
#3
|
|
New Member
Join Date: May 2007
Location: london
Age: 27
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Disappearing Background Images (IE6)
Quote:
Originally Posted by Lchad
|
I had a look at your site and found a few errors.
http://validator.w3.org/check?uri=ht...Fproducts.html
Please follow the link, and correct them, and your site will be fixed..
Thanks
<notagz1>
|
|
|
June 1st, 2007, 10:42 AM
|
#4
|
|
WebForumz Member
Join Date: Mar 2007
Location: indiana
Age: 26
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Disappearing Background Images (IE6)
I validated my page and there is still a problem with my javascript hack for png transparency, but I can't find a way around that to validate it properly. But even when I remove that hack, so it validates properly, it doesn't make the background image appear.
Any suggestions?
I've tried the hacks on the bg images, where you apply height, or position:relative, and neither have worked.
Sigh. Any help would be greatly appreciated. Thanks!
|
|
|
June 1st, 2007, 10:52 AM
|
#5
|
|
WebForumz Member
Join Date: Mar 2007
Location: indiana
Age: 26
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Disappearing Background Images (IE6)
and thanks for the suggestions for validation! i can't believe I forgot to run the pages! it's been one of those weeks.... : )
|
|
|
June 1st, 2007, 11:14 AM
|
#6
|
|
WebForumz Member
Join Date: Mar 2007
Location: indiana
Age: 26
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Disappearing Background Images (IE6)
Ok folks. I figured out the problem. IE6 for some reason, doesn't like pulling a background image from a class. Originally, I had:
#box_links { position: absolute; z-index: 7; top: 146px; left: 70px; width: 857px; height: 398px; border: 1px solid #BEC2D8; }
#box_links.brun { background: url(../images/box_bg_brun.jpg) no-repeat; }
Every browser but IE6 recognized this. So, I had to create a separate div to replace each of the 13 classes I'd originally had, which padded the CSS code like crazy, but it works now.
#box_links_brun { position: absolute; z-index: 7; top: 146px; left: 70px; width: 857px; height: 398px; border: 1px solid #BEC2D8; background: url(../images/box_bg_brun.jpg) no-repeat; }
Hope this helps anybody who might've run into the same problem!
|
|
|
June 1st, 2007, 11:54 AM
|
#7
|
|
Elite Veteran
Join Date: Sep 2006
Location: Pink House
Posts: 3,941
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: Disappearing Background Images (IE6)
Ah... glad you got the answer and posted it for all of us!!!
|
|
|
June 2nd, 2007, 05:59 AM
|
#8
|
|
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,784
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: Disappearing Background Images (IE6)
Yeah, I've noticed that before. I'm not too sure on the syntax of it, but it really shouldn't mean "An ID with this class name." You should never use ID's more than once on a page, so it shouldn't matter 
|
|
|
June 2nd, 2007, 10:21 PM
|
#9
|
|
WebForumz Member
Join Date: Mar 2007
Location: indiana
Age: 26
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Disappearing Background Images (IE6)
Yeah. I made that mistake the first time around. Guess it's a rookie thing, but when I fixed it it still didn't correct the problem, til I turned the div's elements with classes into their own divs. Sigh.
I can't wait til everyone has migrated to IE7. Maybe then there will be fewer sigh's.
Thanks for the replies!
|
|
|
June 6th, 2007, 05:42 PM
|
#10
|
|
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,081
Thanks: 0
Thanked 37 Times in 37 Posts
Rep Altering Power: 0
|
Re: Disappearing Background Images (IE6)
I wish everyone would use Firefox and be done with it =). Glad you found a solution.
|
|
|
June 6th, 2007, 09:33 PM
|
#11
|
|
WebForumz Member
Join Date: Mar 2007
Location: indiana
Age: 26
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Disappearing Background Images (IE6)
I completely agree.
Almost.
IE7 does have better text anti-aliasing. Anybody got any idea how to get Firefox to handle text like that?
Other than that, Firefox is king. No, Firefox is a god. One of those cool ones with the lightening bolts or tritons, who also turns water into wine.
Thanks for the reply moojoo : )
|
|
|
June 7th, 2007, 08:34 AM
|
#12
|
|
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 649
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Disappearing Background Images (IE6)
Quote:
Originally Posted by kidreapertronV
IE7 does have better text anti-aliasing. Anybody got any idea how to get Firefox to handle text like that?
|
Gah, I'd never noticed. What are you talking about?
Firefox has other issues. Peeps say that the disappearing text in floated div's is w3c compliant, but even if that's right, it's a major pain in the neck.
My biggest gripe is sites where some function doesn't work in FF; Comcast and my.yahoo both have issues, eg Comcast webmail won't let you include a graphic in a composed email except in IE7 
|
|
|
June 7th, 2007, 10:26 AM
|
#13
|
|
WebForumz Member
Join Date: Mar 2007
Location: indiana
Age: 26
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Disappearing Background Images (IE6)
Silly rookie mistake again. I just have cleartype turned on for IE7. Do they have a function like that for FF?
|
|
|
June 7th, 2007, 10:34 AM
|
#14
|
|
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 32
Posts: 4,607
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: Disappearing Background Images (IE6)
don't think so ...
|
|
|
June 8th, 2007, 12:45 PM
|
#15
|
|
WebForumz Member
Join Date: Mar 2007
Location: indiana
Age: 26
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: Disappearing Background Images (IE6)
mason, wouldn't this be a great time for a legal monopoly? just one compliant browser to rule them all.
if I find something similar to cleartype for FF, I'll post it here. Thanks, karinne.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|