Html 我有一个日期字段在IE8中运行良好,但在IE11中它’;它工作不正常

Html 我有一个日期字段在IE8中运行良好,但在IE11中它’;它工作不正常,html,css,Html,Css,如果我添加顶部和底部以正确对齐,则日期将消失。有人能帮我吗。这是我的jsp代码: <div class="right-w"> <c:choose> <c:when test="${fsfview.localeUtil.syslocale == 'fr_ca'}"> <c:set var="weekEnding" value="weekEnding-CA" /> </c:when&

如果我添加顶部和底部以正确对齐,则日期将消失。有人能帮我吗。

这是我的jsp代码:

<div class="right-w">
    <c:choose>
        <c:when test="${fsfview.localeUtil.syslocale == 'fr_ca'}">
            <c:set var="weekEnding" value="weekEnding-CA" />
        </c:when>
        <c:when test="${fsfview.localeUtil.syslocale == 'en_gb'}">
            <c:set var="weekEnding" value="weekEnding-UK" />
        </c:when>
        <c:otherwise>
            <c:set var="weekEnding" value="weekEnding" />
        </c:otherwise>
    </c:choose>
    <c:out value="${fsfview.localeMap['Week Ending']}"/>: <input type="text" 
    id="${weekEnding}"  class="wkEndingField"value="${fsfview.weekEndingLocale}" 
    onchange="validateWklyViewWkEndDate('<c:out 
    value="${fsfview.localeUtil.syslocale}" />');" 
    onkeypress="checkForEnterKey(event, '<c:out 
    value="${fsfview.localeUtil.syslocale}" />');" style="padding-top: 2px; padding- 
    bottom: 18px;"/>

 </div>

: 
还有我的css代码:

/*页眉材料*/ .page header.left-w,.page header.right-w{宽度:48%;填充:2px;边框:0px 虚线#555555;} .page header.left-w{float:left;文本对齐:left;字体大小:18px;} .page header.right-w{float:right;文本对齐:right;padding-right:10px;padding- 顶部:
在此处输入代码
5px;} .页眉。右-右输入{高度:15px;填充:2px4px 4px 18px;宽度:105px;
边框:1px实心#555555;}

请发布一些代码请添加您的代码