Quote:
Originally Posted by cowcowcow
Using VB3.8
Ive got 20 extra bbcode buttons and the layout just extends horizontally forever, anyone know where to put a linebreak between? Where exactly would i put it?
Alternatively i could center my interface if i knew how to
[IMG]  Uploaded with ImageShack.us[/IMG]
thanks!
|
You're adding cells to a table when adding them to the editor. So what you need to do is start a new table row, rather than a line break.
HTML Code:
<table>
<!-- TR starts a new table row -->
<tr>
<td>Table Cell Contents</td>
<td>Table Cell Contents</td>
</tr>
<!-- TR starts a new table row -->
<tr>
<td>Table Cell Contents</td>
<td>Table Cell Contents</td>
</tr>
</table>
There need to be an equal number of table cells on each row, or your table will be lopsided. Even if the cells are empty, just a <td></td> will work.
Also, looks to me like you or a modification have made additional edits to your editor template. So you would need to make certain the HTML is correct here before attempting to try and center anything.
Quote:
Originally Posted by bigs15
Having error after editing the template
Code:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in
/includes/adminfunctions_template.php(3941) : eval()'d code on line 154
|
You're code is constructed improperly. You've left out something like a ] that PHP was expecting to be there. You need to double check your work closely, or revert the template and start over all the custom edits from scratch.