This type of scheme seems to do borders in IE and other browsers but it is tricky:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#sel select {
height:100%;
}
* html #sel select {
margin-bottom:5px;
}
#sel {
border:5px solid green;
}
body>#sel {
border-top-width:6px;
border-bottom-width:7px;
}
</style>
</head>
<body><br>
<span id="sel"><select>
<option>jjjjj</option>
<option>jjjjj</option>
<option>jjjjj</option>
<option>jjjjj</option>
<option>jjjjj</option>
</select></span>
</body>
</html>
Here are the styles commented:
Code:
#sel select {
height:100%; /*Opera needs this for a balanced look*/
}
* html #sel select {
margin-bottom:5px; /*IE needs this or the bottom border does not render, set to border width*/
}
#sel {
border:5px solid green; /*for all browsers*/
}
body>#sel { /*for all except IE, adjust as needed for even appearance*/
border-top-width:6px;
border-bottom-width:7px;
}
Bookmarks