Fieldset works with tables. Remove any part of the style in the table tag. try this example. This works for me.
<fieldset id="fieldset3" style="padding:20px;top:230px; position: absolute;"> <legend>Search Results</legend> <form> <table id="EmployeeDetails" border="1" cellpadding="3%"> <tr> <th>Name</th> <th>Case Status</th> <th>Click here to View </th> </tr> <tr> <td>Dinesh</td> <td>Occupied</td> <td><button type="submit" id="Search">Search</button></td> </tr> </table> </form> </fieldset>
source share