Printable Version of Topic
Click here to view this topic in its original format
Jcink.com Forums > General Support > BBCode Table Problems


Posted by: Carmilla Aug 7 2016, 12:38 AM
I figured out how to make a custom BBcode table, but I'm having two problems. The first is that I want the first cell to be slightly smaller and the last one to be slightly bigger. My second problem is that the text in the last cell is aligned to the right even though it should be centered.

http://fota.jcink.net/index.php?showtopic=34 is what is happening. I've tried rearranging the HTML several different ways but nothing worked. This is what it is at the moment.

Table:
CODE
<table style="border: 1px solid black" align="center">(PARAM1)</table>


tr:
CODE
<tr>(PARAM1)</tr>


td:
CODE
<td style="border: 1px solid black; padding:5px;">(PARAM1)</td>

Never mind, I got it to work now!

Posted by: multiplicity! Aug 7 2016, 03:35 AM
    Change the td code to this:

    CODE
    <td style="border: 1px solid black;padding:5px;width: 100px;text-align: center;" align="center">(PARAM1)</td>


    Find this in your CSS:

    CODE
    #board td:first-child {
       width: 25%;
    }


    change it to this:

    CODE
    #board td:first-child {
       width: 50px!important;
    }

'
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)