2 neil1225 neil1225 于 2016.04.25 14:53 提问

这样的样式怎么调整!
jsp

图片说明
用户登录页面的样式!

3个回答

neil1225
neil1225   2016.04.25 14:54

     <h2><spring:message code="screen.welcome.instructions" /></h2>  
                <div class="row fl-controls-left">  
                    <label for="username" class="fl-label"><spring:message code="screen.welcome.label.netid" /></label>  
                    <c:if test="${not empty sessionScope.openIdLocalId}">  
                    <strong>${sessionScope.openIdLocalId}</strong>  
                    <input type="hidden" id="username" name="username" value="${sessionScope.openIdLocalId}" />  
                    </c:if>  

                    <c:if test="${empty sessionScope.openIdLocalId}">  
                    <spring:message code="screen.welcome.label.netid.accesskey" var="userNameAccessKey" />  
                    <form:input cssClass="required" cssErrorClass="error" id="username" size="25" tabindex="1" accesskey="${userNameAccessKey}" path="username" autocomplete="false" htmlEscape="true" />  
                    </c:if>  
                </div>  
                <div class="row fl-controls-left">  
                    <label for="password" class="fl-label"><spring:message code="screen.welcome.label.password" /></label>  

                    <spring:message code="screen.welcome.label.password.accesskey" var="passwordAccessKey" />  
                    <form:password cssClass="required" cssErrorClass="error" id="password" size="25" tabindex="2" path="password"  accesskey="${passwordAccessKey}" htmlEscape="true" autocomplete="off" />  
                </div>  
     <form:errors path="*" id="msg" cssClass="errors" element="div" htmlEscape="false" />
     <section class="row btn-row">
        <input type="hidden" name="lt" value="${loginTicket}" />
        <input type="hidden" name="execution" value="${flowExecutionKey}" />
        <input type="hidden" name="_eventId" value="submit" />

        <input class="btn-submit" name="submit" accesskey="l" value="<spring:message code="screen.welcome.button.login" />" tabindex="6" type="submit" />

    </section>

</form:form>
w172087242
w172087242   Ds   Rxr 2016.04.25 14:55

最好用表格布局,表格可以严格控制对其,列宽行高等。
熟悉html的用div等也可以做好这样的布局。

CSDNXIAON
CSDNXIAON   2016.04.25 15:02

sld样式调整
针对iphone4调整样式
Material 主题样式细节调整
----------------------同志你好,我是CSDN问答机器人小N,奉组织之命为你提供参考答案,编程尚未成功,同志仍需努力!

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!