Hide horizontal lines at bottom of form

Hide horizontal lines at bottom of form

Hi I have a page with 3 forms embedded in html snippets.  On each of the forms I can hide the submit button easily but I am left with the horizontal lines that bound that section and I cannot figure out to remove them (see below for the two sets of horizontal lines in grey)!



I'm hiding the submit and attempting to remove the lines as follows:

input.script = "<style>input.zc-live-primary-btn { display: none;} table.zc-formtable, .zc-appformtable, .zc-dialog-border-top { border: none; }</style>";

Any help gratefully received :)