Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-18-2010, 03:03 AM   PM User | #1
kidda media
New to the CF scene

 
Join Date: Nov 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
kidda media is an unknown quantity at this point
DIV Background Image IE

Hi All

Just joined the forum and hope to participate where I can, apologies for a question being my first post.

I have a DIV with a background image jpeg, this div then further houses a jquery cycle slideshow div scrolling semi transparent png's.

In ALL browsers except IE this is displaying perfectly yet in IE the background image of the back DIV is not displaying and I have no idea why??

Can anyone shed any light on this?

I have not placed my CSS code here but can if necessary?

The page is up here .... http://www.kiddamedia.com/Leaf%20Web%20Workshop/

Thanks in advance for any help

Thanks

John
kidda media is offline   Reply With Quote
Old 11-18-2010, 03:33 AM   PM User | #2
quartzy
Regular Coder

 
Join Date: May 2009
Posts: 813
Thanks: 123
Thanked 24 Times in 24 Posts
quartzy is an unknown quantity at this point
re

I dont know to what you are referring to on your webpage, you need to explain with code.
quartzy is offline   Reply With Quote
Old 11-18-2010, 03:53 AM   PM User | #3
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Hello kidda media,
Your link is plenty, we can get the code from that.

Since All my browsers show #slider's bg image slider_bg.jpg I can only assume you're having trouble with IE6...

If I had to guess, I'd bet your .png's are not transparent in that browser. IE6 needs a hack to display .png like other browsers. Google IE6 png fix and see if that helps.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 11-18-2010, 03:54 AM   PM User | #4
kidda media
New to the CF scene

 
Join Date: Nov 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
kidda media is an unknown quantity at this point
First up is the HTML

<div id="slider_wrap">
<div id="slider_container">

<div id="slider">
<div class="slideshow">
<img src="images/home_banner_image_1.png"/>
<img src="images/home_banner_image_2.png"/>
<img src="images/home_banner_image_3.png"/>
</div>
</div>
</div>
</div>

And now the CSS

/* Slidehow Element */

.slideshow { height: 326px; width: 936px; margin:0px;}

.slideshow img {}

#slider_wrap {width:100%; height:350px; background:#65944a; border-top:#fff 2px groove; border-bottom:#fff 2px groove;}

#slider_container { margin:0 auto; height:350px; width:960px;}

#slider { height:326px; width:936px; background:#FFF; margin:10px 10px; border:#fff 2px groove; background:url(../images/slider_bg.jpg);}


I and the above code refer to the Green slider element below the header with green background and its contents as per my original email.

Cheers in advance

John
kidda media is offline   Reply With Quote
Old 11-18-2010, 04:02 AM   PM User | #5
MattF
Senior Coder

 
Join Date: Jul 2009
Location: South Yorkshire, England
Posts: 2,322
Thanks: 6
Thanked 304 Times in 303 Posts
MattF will become famous soon enoughMattF will become famous soon enough
Quote:
Originally Posted by Excavator View Post
Since All my browsers show #slider's bg image slider_bg.jpg I can only assume you're having trouble with IE6...

If I had to guess, I'd bet your .png's are not transparent in that browser. IE6 needs a hack to display .png like other browsers. Google IE6 png fix and see if that helps.
IE8 displays the symptoms too. That squirly line picture in the background is being covered by the slideshow images.


Btw, John, (I did try thinking of a subtle way of saying this but failed), that site is not a glowing endorsement of abilities when you're trying to put yoursel(f|ves) across as professional web designers. Nav functionality sucks without JS enabled, (even with it enabled, for that matter), the layout goes to pot etc. Nothing seems to work or display correctly other than the slideshow. K-Meleon browser, just incase you're wondering.
MattF is offline   Reply With Quote
Old 11-18-2010, 04:15 AM   PM User | #6
Excavator
Master Coder


 
Excavator's Avatar
 
Join Date: Dec 2006
Location: Alaska
Posts: 9,410
Thanks: 22
Thanked 1,765 Times in 1,749 Posts
Excavator has a spectacular aura aboutExcavator has a spectacular aura aboutExcavator has a spectacular aura about
Yes, looking again I see my IE8 shows the problem.

Have you checked the validator? Plenty of errors there that could be fixed, not sure that's the cause of your problem but it does seem to follow that a web authors site should be valid code.
__________________
Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad
Excavator is offline   Reply With Quote
Old 11-18-2010, 04:36 AM   PM User | #7
kidda media
New to the CF scene

 
Join Date: Nov 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
kidda media is an unknown quantity at this point
Angry

Quote:
Originally Posted by Excavator View Post
Hello kidda media,
Your link is plenty, we can get the code from that.

Since All my browsers show #slider's bg image slider_bg.jpg I can only assume you're having trouble with IE6...

If I had to guess, I'd bet your .png's are not transparent in that browser. IE6 needs a hack to display .png like other browsers. Google IE6 png fix and see if that helps.
Hi There

No this issue is IE8, I think is not an issue with the PNG but with the background image, I just cant work it out
kidda media is offline   Reply With Quote
Old 11-18-2010, 04:37 AM   PM User | #8
santhoshj400
Banned

 
Join Date: Jul 2010
Posts: 66
Thanks: 0
Thanked 1 Time in 1 Post
santhoshj400 is an unknown quantity at this point
Quote:
Originally Posted by kidda media View Post
Hi All

Just joined the forum and hope to participate where I can, apologies for a question being my first post.

I have a DIV with a background image jpeg, this div then further houses a jquery cycle slideshow div scrolling semi transparent png's.

In ALL browsers except IE this is displaying perfectly yet in IE the background image of the back DIV is not displaying and I have no idea why??

Can anyone shed any light on this?

I have not placed my CSS code here but can if necessary?

The page is up here .... http://www.kiddamedia.com/Leaf%20Web%20Workshop/

Thanks in advance for any help

Thanks

John
Hi,
i think it is png image which will not be displayed on IE 6 ,im saying this because i cant find which image is it please get Png fix from following link

http://www.twinhelix.com/css/iepngfix/
santhoshj400 is offline   Reply With Quote
Old 11-18-2010, 04:39 AM   PM User | #9
kidda media
New to the CF scene

 
Join Date: Nov 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
kidda media is an unknown quantity at this point
Quote:
Originally Posted by MattF View Post
IE8 displays the symptoms too. That squirly line picture in the background is being covered by the slideshow images.


Btw, John, (I did try thinking of a subtle way of saying this but failed), that site is not a glowing endorsement of abilities when you're trying to put yoursel(f|ves) across as professional web designers. Nav functionality sucks without JS enabled, (even with it enabled, for that matter), the layout goes to pot etc. Nothing seems to work or display correctly other than the slideshow. K-Meleon browser, just incase you're wondering.
This is not live in any shape or form yet and only in development, is on a temporary server while I iron issues out, I put it up so I could get feedback on one issue that is being addressed here. Also kindly note that this site is for a third party. Maybe you should reserve comments such as this until you are aware of all facts, then I would be happy to recieve critique. Thanks

Last edited by kidda media; 11-18-2010 at 04:43 AM..
kidda media is offline   Reply With Quote
Old 11-18-2010, 05:03 AM   PM User | #10
MattF
Senior Coder

 
Join Date: Jul 2009
Location: South Yorkshire, England
Posts: 2,322
Thanks: 6
Thanked 304 Times in 303 Posts
MattF will become famous soon enoughMattF will become famous soon enough
Quote:
Originally Posted by kidda media View Post
Also kindly note that this site is for a third party.
So you're designing a site for a website design company?
MattF is offline   Reply With Quote
Old 11-18-2010, 05:06 AM   PM User | #11
kidda media
New to the CF scene

 
Join Date: Nov 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
kidda media is an unknown quantity at this point
I am working on the site with them and I do not work for the company, so as such they are a third party. The content of the site and how they pitch themselves is up to them.
kidda media is offline   Reply With Quote
Old 11-18-2010, 03:12 PM   PM User | #12
kidda media
New to the CF scene

 
Join Date: Nov 2010
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
kidda media is an unknown quantity at this point
RESOLVED

FYI this is down to an options setting in the Jquery Cycle plugin that forces IE to ditch the background image of a DIV when overlayed by the a DIV containing the cycle DIV

Thanks to some of you for taking the time to respond to my first post, to one 'Senior Coder' PM me and I will happily show you a finished site you can critique all the way rather than sabotage a quite innocent post and ask for help. *&^%#@!
kidda media is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:59 AM.


Advertisement
Log in to turn off these ads.