Jump to:

23486 Posts in 18995 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » legend tags causing a bug in IE

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 767 Views
  • patjnr
    Community Member
    101 Posts

    legend tags causing a bug in IE Link to this post


    why are there legend in Form.ss template yet they are not being used.

    here is an extract of Form.ss


    because Page.ss is n xhtml it changes this to <legend /> and this will create a a blank legend with a height of about 20px in IE.
    It pushes the the action button down a bit.
    It will be nice to change this to

    <% if Legend %><legend>$Legend</legend><% end_if %>

    to block them if they are not available.

    in SearchForm.ss its even worse, its just


    are these "Legends" really necessary



  • Willr
    Forum Moderator
    5508 Posts

    Re: legend tags causing a bug in IE Link to this post

    AFAIK legend tags are needed for some levels of section 508 / WCAG validation. If your form has no legend then you could just set legend { display: none; } in your css.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.