Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  Add ReplyNew TopicNew Poll

 BBCode Table Problems
#
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.

This 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!
#
    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;
    }
PM
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options Add ReplyNew TopicNew Poll