2
我有一個在Chrome和Firefox正常工作,但在IE我不能顯示我的標籤強制標籤背景:網址()在Internet Explorer
背景我有兩個班的CSS HTML/CSS代碼一個用於激活標籤,另一個用於不激活。
這是我的CSS代碼:
.jqTransformDayRadioWrapper label {
width: 31px !important;
height: 28px;
margin-right: 2px;
text-align: center;
font-weight: normal;
line-height: 28px;
cursor: pointer;
background: url('../img/form/day_radio_button.gif') no-repeat;
}
.jqTransformDayRadioWrapper label.active {
background: url('../img/form/day_radio_button_selected.gif') no-repeat !important;
}
這裏是HTML代碼生成由CakePHP的HTML輔助形式:
<div class="jqTransformDayRadioWrapper">
<label for="EventReoccurringOnDay1">S</label>
<input name="data[Event][reoccurring_on_day1]" type="text" class="jqTransformDayRadioWrapper" value="0" id="EventReoccurringOnDay1" />
<label for="EventReoccurringOnDay5">T</label>
<input name="data[Event][reoccurring_on_day5]" type="text" checked="checked" class="jqTransformDayRadioWrapper" value="1" id="EventReoccurringOnDay5" />
</div>
</div>
感謝提前:)。
感謝您的回覆,我添加了display:block;但仍然有相同的問題: – user1271775 2012-03-15 14:45:50