W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2004

Re: Issue with legend content wrapping to fieldset width?

From: David Woolley <david@djwhome.demon.co.uk>
Date: Tue, 13 Jan 2004 07:41:31 +0000 (GMT)
Message-Id: <200401130741.i0D7fVh02634@djwhome.demon.co.uk>
To: w3c-wai-ig@w3.org

> block level.  That it is (also) a display: inline element probably
> contributes to not wrapping, as there is the problem of what display:
> block element acutually contains the wrapping.

I overstated the CSS status.  CSS doesn't normatively specify the
styling for any HTML element, but does include a typical browser
style sheet for HTML.  LEGEND doesn't exist in that style sheet, so
defaults to inline.  If that was not an oversight, it was probably
becuase of this qualification:

  The full presentation of some HTML elements cannot be expressed
  in CSS2, including......form control elements.....

That doesn't change the fact that you cannot have a DIV within a 
LEGEND in valid W3C HTML.
Received on Tuesday, 13 January 2004 02:41:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:27 UTC