CodeIgniter Forums
table spacing - Printable Version

+- CodeIgniter Forums (
+-- Forum: Using CodeIgniter (
+--- Forum: General Help (
+--- Thread: table spacing (/showthread.php?tid=65730)

table spacing - davy_yg - 07-17-2016


I am trying to create an html table that has spacing.  I thought I know html but this time, I cannot practice it in CI.  Can anyone help me fix my html code so that my table has some spacing in it?


PHP Code:
<table style="padding: 10px;">
        <td><b>EDIT CAPTION</b></td>
        <td><input type="text" name="caption" value=""></td>
        <td><img src="<?php echo base_url('uploads/pic1.jpg'); ?>" height="300" width="400"></td>
        <td><button class="delete">DELETE</button></td>
        <td><button class="edit">SUBMIT</button></td>

RE: table spacing - PaulD - 07-17-2016

You might find this link handy