Can’t set height: 0; to fieldset if legend is available

Background I have a form with collapsible fieldsets. In this example, each checkbox opens a fieldset with help of Bootstrap-Collapse. https://codepen.io/vacoxudelpen/full/LYjOryP The Odd The fieldset with legend don’t (un)collapse smoothly. The fieldset without legend is fine. The Known Bootstrap animates the collapse-elements with overflow: hidden; height: 0;. Apparently the browsers don’t like to set the … Read more

Fieldgroup inside of a table form

<fieldset style=”width: 400px;”> <legend><h2>Form Validation</h2></legend> <form> <table> <tr> <td>Name:</td> <td><input type=”text” name=”ime”></td> </tr> <tr> <td>Username</TD> <td><input type=”text” name=”username”></td> </tr> </table> <input type=”submit” value=”Submit” name=”send”> </form> </fieldset> I am currently making a form inside of a table… This is kind of new for me, since I don’t know how to do it. Above is the code … Read more