Hi im try to put a gif in the top right hand corner of another div. here's the code im using
Im getting a really annoying 1px gap in IE.
btw this is a snippet of the page im building didn't think i would need to post all the code.
Ive tested as above and im still getting the 1px gap
??????????????????
Thanks
Ben
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#contentnvq {
position: relative;
height: 500px;
width: 641px;
margin: 0px;
border-top: thin solid #00CCFF;
border-right: thin solid #00CCFF;
left: 0px;
padding: 0px;
}
#login {
position: absolute;
height: 31px;
width: 127px;
float: right;
right: 0px;
top: 0px;
text-align: right;
margin-top: 0px;
margin-right: 0px;
}
</style>
</head>
<body>
<div id="contentnvq">
<div id="login"><img src="images_new/login.gif" width="127" height="31"></div>
</div>
</body>
</html>
Im getting a really annoying 1px gap in IE.
btw this is a snippet of the page im building didn't think i would need to post all the code.
Ive tested as above and im still getting the 1px gap
??????????????????
Thanks
Ben