テキスト フィールドの幅を設定できません [CSS への初心者]
これは私のコードです
<div data-role="fieldcontain" >
<input type="text" name="postquestion" class="ps" value="" placeholder="What's Your Question..?"data-mini="true"/>
</div>
これは働いています
.ui-input-text{
width:150px !important;
}
しかし、これはうまくいきません
.ps
{
width:150px !important;
}
理由はわかりません。たくさんグーグル検索しましたが、答えが得られませんでした。私を助けてください。