MyBB Support

Hmm help would be appreciated!

Submitted by Tutti Frutti, , Thread ID: 28019

Thread Closed
18-01-2017, 04:45 AM
#1
I added a border but looks like there not aligned properly like u'll see what I mean in the picture.
[Image: g1roBgy.png]

That border I added the 2nd category it's kinda messed up and not straight.

RE: Hmm help would be appreciated!

#2
Is it that the bottom border has a bit of white while the top doesn't?

[Image: Yp8ZHSk.gif]

RE: Hmm help would be appreciated!

OP
This post was last modified: 18-01-2017, 04:48 AM by Tutti Frutti
#3
18-01-2017, 04:47 AM
Zenith Wrote:
Is it that the bottom border has a bit of white while the top doesn't?

Its the border thats middle of discussions and messages.

RE: Hmm help would be appreciated!

#4
18-01-2017, 04:48 AM
TuttiFrutti Wrote:
Its the border thats middle of discussions and messages.

notice the length of the text for the sub forum. How the second one on the bottom half is much longer.

Try making them all equally short.

[Image: Yp8ZHSk.gif]

RE: Hmm help would be appreciated!

OP
#5
18-01-2017, 04:50 AM
Zenith Wrote:
notice the length of the text for the sub forum. How the second one on the bottom half is much longer.

Try making them all equally short.

Yeah just tested it copied a long text and right click elements and it aligns itself, how can i make it auto just so it doesn't change itself.

RE: Hmm help would be appreciated!

#6
18-01-2017, 04:51 AM
Tutti Frutti Wrote:
Yeah just tested it copied a long text and right click elements and it aligns itself, how can i make it auto just so it doesn't change itself.

try using word break?

RE: Hmm help would be appreciated!

OP
#7
18-01-2017, 05:00 AM
Devourz Wrote:
try using word break?

Nope tried adding word-break: break-all; wouldn't work.

RE: Hmm help would be appreciated!

#8
Post your forumbit_depth1_cat and forumbit_depth2_forum template here.

RE: Hmm help would be appreciated!

OP
#9
18-01-2017, 05:21 AM
Aoki Wrote:
Post your forumbit_depth1_cat and forumbit_depth2_forum template here.

forumbit_depth1_cat
Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead{$expthead}" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><i class="fa fa-bars" aria-hidden="true"></i> <a href="{$forum_url}">{$forum['name']}</a></strong></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
{$sub_forums}
</tbody>
</table>
<br />

forumbit_depth2_forum

Code:
<tr>
<td class="{$bgcolor}" align="center" width="1"><div class="forum_status forum_{$lightbulb['folder']} ajax_mark_read ficons_{$forum['fid']}" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"><i class="fa fa-comments"></i></div></td>
<td class="{$bgcolor}">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td width="82px" class="trow1" align="center" style="white-space: nowrap; font-size: 10px; color: rgb(110, 110, 110); border-right: 1px solid #e1e1e1;"><div style="font-size: 14px; padding-bottom: 3px;">{$threads}</div>DISCUSSIONS<br></td>

<td width="82px" class="trow1" align="center" style="white-space: nowrap; font-size: 10px; color: rgb(110, 110, 110);"><div style="font-size: 14px; padding-bottom: 3px;">{$posts}</div>MESSAGES<br></td>
<td class="{$bgcolor}" align="left" width="200" style="white-space: nowrap">{$lastpost}</td>
</tr>

RE: Hmm help would be appreciated!

#10
Replace forumbit_depth2_forum with

Code:
<tr>
<td class="{$bgcolor}" align="center" width="1"><div class="forum_status forum_{$lightbulb['folder']} ajax_mark_read ficons_{$forum['fid']}" title="{$lightbulb['altonoff']}" id="mark_read_{$forum['fid']}"><i class="fa fa-comments"></i></div></td>
<td class="{$bgcolor}">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td width="82px" class="trow1" align="center" style="white-space: nowrap; font-size: 10px; color: rgb(110, 110, 110); border-right: 1px solid #e1e1e1;"><div style="font-size: 14px; padding-bottom: 3px;">{$threads}</div>DISCUSSIONS<br></td>

<td width="82px" class="trow1" align="center" style="white-space: nowrap; font-size: 10px; color: rgb(110, 110, 110);"><div style="font-size: 14px; padding-bottom: 3px;">{$posts}</div>MESSAGES<br></td>
<td class="{$bgcolor}" align="left" width="200px" style="white-space: nowrap">{$lastpost}</td>
</tr>

Your laspost column is missing the "px" on the width.

Users browsing this thread: 3 Guest(s)