i have a fieldset with a legend. i want the legend to bolden when hovered, however, it shifts the content below it a few pixels down (which is kind of annoying). how can i fix it?
here are their stylings:
fieldset {
border: none;
border-top: 1px solid;
}
legend {
font-size: 16px;
}
.collapsable {
cursor: hand;
cursor: pointer;
}
.collapsable:hover {
font-weight:bold;
}
here is some example html:
<fieldset class="restrictiveOptions">
<legend class="collapsable">
<img width="12" height="12" title="Collapse" alt="Collapse"
class="toggle" src="branding/default/images/collapse.gif"> Restrictive Options
</legend>
<div style="">
...
thanks!