InputText]를 나는 다음과 같은 다양한 데이터 테이블의 열을 데 :추가 공간 :
<h:panelGrid columns="2" width="100%"
style="text-align: center;line-height:0px;">
<h:outputText value="*" style="font: bold 19px;color: red;position: relative;margin:0;padding:0;"
rendered="#{s:isNotNumber(forecastList.rasMap[mapElements])}"></h:outputText>
<h:inputText value="#{forecastList.rasMap[mapElements]}"
readonly="true" onfocus="captureFocus(this,this.form);"
size="15"
style="#{s:contains(forecastList.rasMap[mapElements],'-') ? 'color: red;' : ''};
text-align: right; vertical-align: middle;background-color: white;margin:0;padding:0;"
label="For #{forecastList.currencySymbolRas} - #{mapElements},">
<s:bigDecimalConverter decimalDigits="2" />
</h:inputText>
</h:panelGrid>
그러나 나는 asterik 및 입력 텍스트 상자 사이의 공간을 제거 할 수 없습니다입니다. 나는 그들 사이를 서로 가깝게하고 싶다. h:panelGrid
에 추가 속성을
감사 Lukach을 이미 아니 ... 그것을 시도했다 운!! – Aashish
더 많은 회선이 있습니까? 다른 텍스트가 1 이상이면, h : panelGrid'style' 속성에서'text-align : center'을 제거하고 각 열마다 스타일을 사용할 수 있습니다. –
추가로 중요한 것은'h : panelGrid'에서'width = "100 %"'를 제거하십시오! –