我在肯大学网站上工作,并且我正在获取跨浏览器的问题。CSS跨浏览器图像对齐问题
在IE 8中显示不正确。 但在Firefox和铬它工作正常。
这是我正努力修复该文本框..
这里是演示页图像。 http://safijustonline.com/Forms/Student/StudentRegistration.aspx
请它在IE和Firefox ..
如何解决这个跨浏览器的图像对齐问题?
登录信息:
用户名= [email protected] 通= 123
更新:
我还添加reset.css文件在我的主题。
生成的我的代码HTML:上按钮的顶部
.WindowsStyle .ajax__combobox_inputcontainer .ajax__combobox_buttoncontainer button {
background-image: url("Images/windows-arrow.gif");
background-position: left top;
border: 0 none;
height: 22px;
margin: -10px 0 0;
padding: 0;
width: 22px;
}
图片:
<div id="CPH_Content_TabContainerStudentRegistration_TabPanelMain_Cmb_Shift" class="WindowsStyle" style="display:inline-block;">
<table id="CPH_Content_TabContainerStudentRegistration_TabPanelMain_Cmb_Shift_Cmb_Shift_Table" class="ajax__combobox_inputcontainer" cellspacing="0" cellpadding="0" style="border-width:0px;border-style:None;border-collapse:collapse;display:inline-block;position:relative;top:5px;">
<tbody>
<tr>
<td class="ajax__combobox_textboxcontainer">
<td class="ajax__combobox_buttoncontainer">
<button id="CPH_Content_TabContainerStudentRegistration_TabPanelMain_Cmb_Shift_Cmb_Shift_Button" type="button" style="height: 25px; width: 25px; margin: 0px; padding: 0px; visibility: visible;"></button>
</td>
</tr>
</tbody>
</table>
<ul id="CPH_Content_TabContainerStudentRegistration_TabPanelMain_Cmb_Shift_Cmb_Shift_OptionList" class="ajax__combobox_itemlist" style="display: none; visibility: hidden; z-index: 10000; overflow: hidden; width: 215px; position: absolute; height: 30px;">
<li>Morning</li>
<li>Evening</li>
</ul>
<input id="CPH_Content_TabContainerStudentRegistration_TabPanelMain_Cmb_Shift_Cmb_Shift_HiddenField" type="hidden" value="0" name="ctl00$CPH_Content$TabContainerStudentRegistration$TabPanelMain$Cmb_Shift$Cmb_Shift_HiddenField">
</div>
我的按钮,图像的CSS。
如果您创建相关代码行的小提琴将更容易回答 – Sowmya 2013-02-22 06:19:32
您能告诉我们图像的确切位置吗? – 2013-02-22 06:19:45
尝试使用此CSS:它将所有内容重置为默认值。 http://meyerweb.com/eric/tools/css/reset/ – shnisaka 2013-02-22 06:21:16