Hmm, I've found this not to work in Firefox.. doesn't seem to allow legends
to be positioned off screen. display:none works but that defeats the purpose
entirely.

I've found legends very difficult to be styled cross browser -  dumping the
legend and using a heading tag will allow much easier styling. I don't think
anyone will hunt you down if you choose to do this...!
I just ran a form with a xhtml strict doctype and no legend thru the W3C
validator and it didn't complain..?

Cheers
James

On 11/30/06, Mike at Green-Beast.com <[EMAIL PROTECTED]> wrote:

Hello Lars,

Perhaps you could have it both ways. Since you don't see a need for it
visually, just like the fieldset borders, so maybe you could do this:

fieldset {
  border : 0;
}

legend {
  position : absolute ;
  top : -9000px;
  left : -9000px;
}

And just use label element for your individual inputs. The legend would be
available to those who may need or benefit from it while still getting it
out of the way like the fieldset borders.

Respectfully,
Mike Cherim
http://green-beast.com/




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to