Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
.cornerImage
{
   position:fixed;
   z-index:1000;
   right:0px;
   bottom:15px;
}



this css is not working in Internet Explore but
it work in google crome and other browser


How can i solve this problem

same example is working in IE is
http://www.nimbusitsolutions.com/
Posted
Updated 19-Aug-10 23:59pm
v3
Comments
Christian Graus 20-Aug-10 5:59am    
Reason for my vote of 1
Wrong tags, .NET has nothing to do with css.

Ok then.

CSS:
.cornerImage
{
   position:fixed;
   z-index:1000;
   right:0px;
   bottom:15px;
}

/* IE doesn't support fixed */
*html .cornerImage { position: absolute; }


HTML:
<body>
  <div class="cornerImage" id="forIe">blah</div>
  <div id="content">
   <!-- Your content here -->
  </div>
</body>


For IE you'll need to position this thing with the help of JavaScript :( Something like:

var sizeOfMyAd = {Put height here};

function ieFix() {
    var y = document.documentElement.scrollTop + document.body.offsetHeight - sizeOfMyAd; 
    document.getElementById('forIe').top = y + 'px';
}

setInterval(ieFix, 100);
 
Share this answer
 
It would be great to see all css and layout. Right now I can say that z-index in IE is not global. It works only in parent container.
 
Share this answer
 
Comments
VinodKumar01 20-Aug-10 5:46am    
what i can do for solve this proble
Nyarost 20-Aug-10 5:48am    
It depends on layout and what you would like to achieve.
VinodKumar01 23-Aug-10 3:31am    
i want to do the same thing as this website plese help me
http://www.nimbusitsolutions.com/index.html
Nyarost 23-Aug-10 3:37am    
Which part of this site should I concentrate on?
VinodKumar01 23-Aug-10 4:31am    
Right down corner's feedback image always shows on right-down corner of IE(browser)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900