Featured post
jquery - IE 8 .png Problem -
ok have searched , found several issues on reason can't find solution problem have background color set , page background set css (had change image paths typeimage because of filter
#page-background { position: absolute; background-image: url('images/page_g.jpg'); background-repeat: repeat-x; top: 0; width: 100%; height: 900px; z-index: -1; }
and body background
body { background:url(images/page_t.jpg) repeat #805b38; font-size: 84%; font-family: arial, helvetica, sans-serif; color: #000; margin: 0; padding: 0; line-height: 1.5em; }
my slideshow php code
<?php if ($mission) : ?><div id="slideshow-bottom"> <div id="mission"><?php print $mission; ?></div></div><?php endif; ?> <div class="slideshow"> <img src="<?php print $base_path . $directory; ?>/images/slideshows/life.png" width="950" height="355" alt="slideshow 1"/> <img src="<?php print $base_path . $directory; ?>/images/slideshows/death.png" width="950" height="355" alt="slideshow 2"/> </div> </div>
now slide show png's work fine in firefox , chrome ie 8 seems transparent shows background color set in css body tag instead of background image.
what missing?
after more research have found problem not png's , background self appears jquery slideshow because if comment out 1 image 1 image works perfect anyony have ideas how fix that?
i know year later but:
your background shorthand incorrect. color should come first, before url.
background: #805b38 url(images/page_t.jpg) repeat;
see resources more css shorthand explanations dustin diaz: http://www.dustindiaz.com/css-shorthand/
- Get link
- X
- Other Apps
Comments
Post a Comment