Search code examples
htmlcssinputborder

Remove border of input


I have a table where in one td there is form with input and submit button. I want totally remove the box of input. Is it possible? http://jsfiddle.net/ajeozmwa/2/


Solution

  • If you want to remove border and background of your input simply use this code:

    input {
        border: none;
        background-color: transparent;
     }
    <link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
    <table class="table">
    <tr><td id="forReport"><form method="POST"><input name="excelAddress" type="text" value="Калинина 15 а" disabled='disabled'><button type="submit" target="_blank" class="generateReport btn btn-primary btn-sm"></i> button</button></form></td><td>751</td></tr></table>