using the following in IE 6:
This code was borrowed from thanks to Vragabond's answer in another topic. Anyways, being VERY new to CSS I do not understand why the above gives me two vertical scrollbars. Can someone enlighten me??
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "[URL unfurl="true"]http://www.w3.org/TR/html4/strict.dtd">[/URL]
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
body {padding-left:220px}
div.fixed {
position: fixed;
border: solid 1px silver;
background-color: whitesmoke;
width: 150px;
height: 200px;
left: 5px;
top: 60px;
padding: 5px;
}
</style>
<style type="text/css">
html, body
{
height: 100%;
overflow: auto;
}
div.fixed {
position: absolute;
}
</style>
</head>
<body>
<div class="fixed">
Search By:
<select name="cboSearch" id="cboSearch">
<option value="1">1</option>
<option value="2">2</option>
</select>
Search String:
<input type="text" name="txtSearch" id="txtSearch" maxlength="20" />
<input type="submit" name="btnSubmit" id="btnSubmit" value="Submit" />
</div>