我对yaml css问题有疑问。我一直在努力让jquery日期字段显示在yaml css字段旁边,但我能管理的最好的是以下内容......
我希望日期选择器位于输入字段的右侧而不是位于其下方。对于你所有的人来说,你知道我怎么能做到这一点吗?感谢您提前的帮助,并为yaml特定问题感到抱歉,但我真的很挣扎。
我使用的html是
<form:form class="ym-form" name="shortsAndOversForm" commandName="shortsAndOversForm" method="post">
<div class="ym-fbox" id="weekEndingDateDiv">
<form:label path="weekEndingDate"><spring:message code="label.weekEndingDate"/><sup class="ym-required">*</sup></form:label>
<form:input path="weekEndingDate" class="{required:true}" placeholder="enter a value"/>
</div>
<input id="submitBtn" type="submit" class="ym-button ym-primary" value="<spring:message code="button.runReport"/>" title="<spring:message code="button.runReport" />" />
</form:form>
答案 0 :(得分:0)
以防这可以帮助其他人这个问题的答案是更改display:block属性来显示:在ym-form输入css类中内联。