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 forlegendmagically changes that. -
IE7 breaks the
* htmlhack 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
floatordisplay(exceptdisplay: none;) tolegendelements at all.