我有两个不同的浏览器的问题。我附上了问题的快照:当我使用以下 css 时,我得到 image1:
.support-data-text img, .support-data-text select {
float:left
}
/* this is for dropdown list */
form#saveSupport select {
height: 29px;
width: 234px;
position: absolute;
}
form#saveSupport input{float: left; width: 243px;}
/* this is for the img we are using for dropdown list */
form#saveSupport .select_game { background: url(../images/select-status.png) no-repeat;
width: 223px; position: absolute; height: 29px; line-height:29px;
padding: 0 0 0 10px; color: #333; font-size:12px; overflow: hidden;
}
当我添加margin-left: 18%
到form#saveSupport .select_game
Chrome 时,显示下拉列表图像的正确对齐,而不是实际的下拉列表,而 Firefox 将下拉列表移到右侧。(图2)
请帮助我解决问题。我会很感激的!
谢谢,维克拉姆