legend tag and Chrome

后端 未结 4 1094
故里飘歌
故里飘歌 2020-12-29 12:33

I\'ve looked everywhere but to no avail.

I got a in a form, which displays as I want in every browsers, except in Chrome. It\'s like it

4条回答
  •  [愿得一人]
    2020-12-29 13:13

    If updating the templates is not possible, you can use this script, just wrap the legend tag inside a div tag

    jQuery('legend').each(function() {
     jQuery(this).wrap( "
    " ); });

    Hope this helps! Enjoy coding..

提交回复
热议问题