<button class="myClass">
<label style="width:500px">This is sample 1</label>
<img class="btnImg" src="images/list_item_arrow.png"/>
</button>
.myClass
{
opacity:0.3;
color:#30F;
height:50px;
width:90%;
font-size:20px;
text-decoration:blink;
font-family:"Arial Black", Gadget, sans-serif;
}
ラベルは幅を取りません。tht が提供されます。要件は、ボタンの幅が % または px の場合、画像を右端に表示できることです。前もって感謝します