のラベル値の表示に問題があり<h:commandButton>
ます。たとえば、以下のコードを参照してください
<td align="left" style="float: left;">
<h:commandButton value ="Reset Demand To Default" styleClass="refresh-button-style" />
</td>
このボタンのスタイルクラスを作成しました。スタイルクラスのコードを以下に示します。
.refresh-button-style
{
word-wrap: break-word !important;
background-color:#2996EF;
height:40px;
width:100px;
font-size:13px;
text-align: center;
font-family: Arial;
}
xhtmlファイルを実行してラベル値を無効にしようとすると、ラベル値が水平に表示されるようです。ワードラップを実行するため、ボタンラベルの一部のみが表示されます。ボタンのワードラップを実現し、コマンドButton内にラベル値全体を表示する方法を教えてください。