Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
Hi
i want to set css position:fixed for ie and position:absolute to other browsers.how to set it?

now i have the css as below

CSS
#modalContainer > #alertBox {


position:fixed;
}



i want to set the above css for ie and other browsers.

Thanks
Posted
Updated 17-Jun-13 19:12pm
v2

1 solution

You Can make use the Media queries Which is are some of the HTML5 features or you can go for following

XML
<!--[if IE]>
<style type="text/css">
  IE specific CSS rules go here
</style>
<![endif]-->
 
Share this answer
 

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