WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Legend with in a fielset

for

From: Sailesh Panchang
Date: Feb 18, 2011 7:33AM


Hello Ashitosh,
First thought is: can the legend text be shortened and be
significantly briefer? The legend text is read with every fields in
the fieldset and it will pose a usability problem.
Using the <br> tag is the easiest. Else you can split the legend text
into two span or div elements and then float one below the other. Will
need some trial and error to get it just right across IE/FF and other
browsers you care to test in.
Rightho,
Sailesh Panchang
On 2/18/11, Jadhav, Ashitosh < <EMAIL REMOVED> > wrote:
> Hi,
>
> I have a form page and I do have fieldset and legend to describe it. The
> issue is that the text inside the legend is too big and I am not able get it
> wrapped. Can anyone help me how can I set a width to a legend and get it
> text in two line without using a <br /> tag.
>
>