晚上好,我想知道如何在同一个<div>
中插入JSF组件之间的空格,而不使用<h:outputText value=" " />
。我已经使用了它,为了插入我想要的空格,我重复使用这个标签大约50次!有什么替代方法吗?这是<div>
:
<div
style="width: 100%; font-size: 20px; line-height: 30px; background-color: gray">
<h:outputText value="–" />
<h:outputLabel value="Notifications ">
<h:graphicImage
value="/resources/images/lunapic_136698680056094_2.gif" />
</h:outputLabel>
/// insert space here
<h:outputLink id="lnk" value="#">
<h:outputText value="Welcome,Islam"></h:outputText>
</h:outputLink>
<p:tooltip for="lnk">
<p:graphicImage value="/resources/images/sofa.png" />
</p:tooltip>
</div>