WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Legend wrap (or not)

for

From: Joelle Tegwen
Date: Sep 4, 2007 8:10AM


Stephanie Sullivan wrote:
> My problem enters with the legend. In some browsers, it wraps. In
> some it doesn't. In some I can force the wrap with a width. In some I
> can't. <sigh />

We use <legend><span>Legend text goes here</span></legend> and then
style the span. It seems to work for all browsers that we have tried.


Joelle