Fighterfox
12-04-2010, 04:06 PM
I am trying to style a drop-down select box so that no border appears in all major browsers. By using the
style="border:none;" I managed to remove the border in every major browser (Firefox, Chrome, Opera, and Safari), except IE, which, in my case, really makes it look lousy. Is there anyway to fix this? Thanks. Here's my code:
<html>
<head>
<style type="text/css">
div {
background:#402020;
width:150px;
margin:0px;
padding:5px;
border:#202020;
text-align:center;
}
select {
background:#402020;
border:none;
margin:0px;
padding:0px;
font-family:comic sans ms;
color:#e9e9e9;
font-size:14px;
width:60%;
}
</style>
</head>
<body>
<div>
<form>
<select>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
</select>
</form>
</div>
</body>
</html>
style="border:none;" I managed to remove the border in every major browser (Firefox, Chrome, Opera, and Safari), except IE, which, in my case, really makes it look lousy. Is there anyway to fix this? Thanks. Here's my code:
<html>
<head>
<style type="text/css">
div {
background:#402020;
width:150px;
margin:0px;
padding:5px;
border:#202020;
text-align:center;
}
select {
background:#402020;
border:none;
margin:0px;
padding:0px;
font-family:comic sans ms;
color:#e9e9e9;
font-size:14px;
width:60%;
}
</style>
</head>
<body>
<div>
<form>
<select>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
</select>
</form>
</div>
</body>
</html>