Hi, my code is as below. If you open it in a browser sometimes it aligns to the right of the page perfectly! However - sometimes when you resize the window there is 1 pixel that is still red (I'm using Internet Explorer 6 to test this). Any solutions or workarounds to this odd behavior?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled</title>
<style>
<!--
#righthandnavigation {
position: absolute;
top: 50px;
right: 0px;
padding-right: 0px;
width: 100px;
height: 500px;
vertical-align: top;
text-align: center;
background-color: white;
padding-bottom: 0px;
z-index: 10;
}
BODY {
background-color: red;
}
//-->
</style>
</head>
<body topmargin=0 leftmargin=0 rightmargin=0>
<div id="righthandnavigation">
text
</div>
</body>
</html>
Start Free Trial