我的网站上有一个选择。具有以下内容:
...
<select name="opening-form-gender" id="opening-form-gender">
<option value="f">Female</option>
<option value="e">Male</option>
</select>
...
CSS:
#opening-form {
background-image: url('../img/opening-form-bg.png');
background-repeat: no-repeat;
height: 139px;
margin: 40px auto;
padding: 20px;
}
#opening-form p {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 14px;
color:#666666;
}
#opening-form strong {
font-size:20px;
}
#opening-form .submit {
background-image: url('../img/red-submit.png');
border: none;
width: 115px;
height: 31px;
line-height: 28px;
}
#opening-form .submit:hover {
background-image: url('../img/red-submit-hover.png');
}
所以,它有一个风格问题。我该如何解决?
这是 jsfiddle 页面: