Ein Blick in das HTML offenbart:
HTML-Code:
<fieldset id="ctrl_54" class="checkbox_container reparatur mandatory">
<legend><span class="invisible">Pflichtfeld</span> Reparatur<span class="mandatory">*</span></legend>
<input type="hidden" name="Reparatur" value="">
<span style="display: block;">
<input type="checkbox" name="Reparatur[]" id="opt_54_0" class="checkbox" value="Touchscreen (Glas)">
<label id="lbl_54_0" for="opt_54_0">Touchscreen (Glas)</label>
</span>
<span>
<input type="checkbox" name="Reparatur[]" id="opt_54_1" class="checkbox" value="LCD (Display)">
<label id="lbl_54_1" for="opt_54_1">LCD (Display)</label>
</span>
<!-- usw. -->
</fieldset>
Also ist immer ein <span> (inline-Element) um das checkbox/legend-Paar herum.
Versuch doch mal, diese spans auf display block zu seten:
Code:
.checkbox_container span{
display: block;
}
.checkbox_container legend span{
display: inline;
}
Das könnte das gewünschte Ergebnis bringen. Aber wie immer führen viele Wege zum Ziel.
Viele grüße,
Matthias
Lesezeichen