CodeIgniter Forums
table spacing - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: table spacing (/thread-65730.html)



table spacing - davy_yg - 07-17-2016

Hello, 

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?


views/addslideshows.php



PHP Code:
<table style="padding: 10px;">
        <tr>
        <td><b>EDIT CAPTION</b></td>
        <td><center><b>IMAGES</b></td>
        <td><b>DELETE</b></center></td>
        </tr>
        <tr>
        <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>
        </tr>
        <tr>
        <td><button class="edit">SUBMIT</button></td>
        <td></td>
        <td></td>
        </tr>
</
table



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

You might find this link handy http://bfy.tw/6mkA