Jesper Møller
06-21-2010, 05:46 PM
I have a fieldset like this:
<fieldset class="display-options">
......
......
<label>
<select name="sd" id="sd">
<option value="a">Stigende</option>
<option value="d" selected="selected">Faldende</option>
</select>
<input type="submit" name="sort" value="Udfør" class="button2" />
</label>
</fieldset>
for the styleing i have this:
select, input {
color: #cccc00;
border-color: #cccc00;
background-color: #581e00;
}
select:hover {
color: #ecb012;
border-color: #ecb012;
}
select:focus {
color: #00ffff;
border-color: #00ffff;
}
input.button2 {
color: #cccc00;
border-color: #cccc00;
background-color: #581e00;
background-image: none;
}
input.button2:hover, input.button2:active {
color: #ecb012;
border-color: #ecb012;
}
the problem in safari is that when i hover the input button the select hoverstate is activated ... Anny ider on how i bypass/fix this ??
<fieldset class="display-options">
......
......
<label>
<select name="sd" id="sd">
<option value="a">Stigende</option>
<option value="d" selected="selected">Faldende</option>
</select>
<input type="submit" name="sort" value="Udfør" class="button2" />
</label>
</fieldset>
for the styleing i have this:
select, input {
color: #cccc00;
border-color: #cccc00;
background-color: #581e00;
}
select:hover {
color: #ecb012;
border-color: #ecb012;
}
select:focus {
color: #00ffff;
border-color: #00ffff;
}
input.button2 {
color: #cccc00;
border-color: #cccc00;
background-color: #581e00;
background-image: none;
}
input.button2:hover, input.button2:active {
color: #ecb012;
border-color: #ecb012;
}
the problem in safari is that when i hover the input button the select hoverstate is activated ... Anny ider on how i bypass/fix this ??