Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

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/


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -