html - Absolute class is not working in IE -


i want put 1 picture in website absolute class in css. have css:

.christmas-santa {background:url(../images/header/santa.jpg) left bottom no-repeat scroll; position:fixed; left:0px; top:0px; width:100%; height:100%; border:1px solid #000000;} 

this css works in mozila, it's not working in ie.

what changes should make?

which version of ie? there known issues ie6 , position:fixed here fix; http://divinentd.com/experiments/emulating-position-fixed.html

ie7+ support position:fixed in standards compliant mode requires valid doctype.

include @ top of page;

<!doctype html public "-//w3c//dtd xhtml 1.0 strict//en" "dtd/xhtml1-strict.dtd">


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -