Panels have their own spacing and formatting issues. The border property of a panel can be set to
For example, to insert a green horizontal rule
$("#fieldID").closest("div.row").after('<hr style="background-color:green; height:1px; width:90%; margin-top:0px">');
fieldID is the ID of a field after which the
<hr> will be inserted. jQuery's .after() function is used to insert the HTML code after the div holding a row in the Dynaform. The .before() function can be used to insert before a field's row.