I promised a test case for my latest problem and here it is: Gecko’s stubborn legend.
A few things worth noting:
-
In reality the yellow background will be a gradiant background image within each box, so I can’t just apply the background to the form.
-
Opera starts out displaying the upper form as FireFox does. The addition of
position: relative
(with notop
,left
, etc.) to the styles forlegend
magically changes that. -
IE7 breaks the
* html
hack so some further work will be needed to align the legend horizontally without breaking things in any other browser. -
Gecko doesn’t seem to apply
float
ordisplay
(exceptdisplay: none;
) tolegend
elements at all.