Here is the CSS code I am using:
background-color: White;
border: 2px solid black;
padding: 10px;
position: fixed;
right: 5px;
top: 0;
width: 250px;
While this code works well in Chrome, Firefox, and Safari, I am facing issues with IE8. The position of the div box is not aligned to the top right corner as intended. Any suggestions on how I can resolve this problem?
Here is the corresponding HTML:
<div style="position:fixed;top:0;right:5px;background-color:White;padding:10px;border:2px black solid;width:250px;">
<div>content here</div>
</div>