MyBB Community Forums

Full Version: Fix exceeding width of forum section?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
My friend's forum: http://conspiracymind.com

Is facing some issues with the width of the forum section. Scroll down below to see what I'm talking about it.

Any help?

see here: http://conspiracymind.com
The div (container) and div(contentout) containers are closed to soon. Meaning the rest falls into the body.

He needs to move the closing </div> tags in the index template down below:

{$boardstats}
(2012-10-22, 02:04 AM)anori Wrote: [ -> ]The div (container) and div(contentout) containers are closed to soon. Meaning the rest falls into the body.

He needs to move the closing </div> tags in the index template down below:

{$boardstats}

Explain a bit more. There are no div tags.
Well if you look at the elements (with firefox/chrome)

You can see that the content of the last 3 forums is located outside the <div id="contentout"> and even two outside the <div id="container"> (which causes the Conspirators Discussion and
Scientific Discussion to be pressed against the contentout container) :

<div id="contentout">
<div id="container">
General and Open Discussion
Discussion about (IR)Religion, Philosophies, and Spirituality
</div>
Conspirators Discussion
Scientific Discussion
</div>
Military
Recreational
Board Statistics

Not even sure how you managed to do that :/

Could you linke three things:

Content of the index template and the content of the forumdepth_1_cat template and the content of the forumbit_2_forum template.
Currently i almost have the feeling as if it was all done in the index template :/
Because things like: <!-- end: forumbit_depth2_forum_lastpost --> are not even there.
Apparently it started when the co-admin tried to install My Tabs by Jesse Lobracca. After the installation, it resulted in this. I'll forward this to him. Thanks.
uninstall the plugin?
Index page:
<head>
<title>ConspiracyMind</title>
<meta name="description" content="ConspiracyMind is where critical thinkers are born.." />
<meta name="keywords" content="conspiracy,conspiracies,conspiracyforum,conspiracyforums,forum,,forums,illuminati,critical thinking,discussions,discussion,debate,debates,religion, religious debates, religious discussions, religious discussion, religious debate, politics " />

<link type="text/css" href="/cometchat/cometchatcss.php" rel="stylesheet" charset="utf-8"><script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
lang.no_new_posts = "{$lang->no_new_posts}";
lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$iadh}
{$forums}
{$iadf}
{$boardstats}
<dl class="forum_legend smalltext">
<dt><img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->new_posts}</dd>
<dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
<dd>{$lang->no_new_posts}</dd>
<dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
<dd>{$lang->forum_locked}</dd>
</dl>
<br style="clear: both" />
{$footer}
</body>
</html>

forumbit_depth2_forum:
 <tr>
<td class="{$bgcolor} first" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor} last" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr> 

forumbit_depth1_cat:
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="6">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong> <span class="smalltext" style="margin-left: 5px;">{$forum['description']}</span></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="3"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>Topics/Messages</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />
</div> 
Can you post the header and footer templates which actually has the div in question here
Footer:
<br />
			<div class="bottommenu">
				<div class="float_right">{$lang_select}</div>
				<div>
					<span class="smalltext"><a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a> | <a href="#top">{$lang->bottomlinks_returntop}</a> | <a href="#content">{$lang->bottomlinks_returncontent}</a> | <a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a> | <a href="{$mybb->settings['bburl']}/myawards.php">Awards</a></span>
				</div>
			</div>
			</div>
		<hr class="hidden" />
			<div id="copyright">
				<div id="debug"><debugstuff></div>
				<!-- MyBB is free software developed and maintained by a volunteer community. 
					 It would be much appreciated by the MyBB Group if you left the full copyright and "powered by" notice intact, 
					 to show your support for MyBB.  If you choose to remove or modify the copyright below, 
					 you may be refused support on the MyBB Community Forums.
					 
					 This is free software, support us and we'll support you. -->
<link rel="icon" type="image/png" href="{$mybb->settings['bburl']}/{$theme['imgdir']}/favicon.ico">
{$lang->powered_by} <a href="http://mybb.com/" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://mybb.com/" target="_blank">MyBB Group</a>.<br />
				<!-- End powered by -->
Design by <a href="http://www.gfxplanet.nl" target="_blank">JustMe</a>
				<br />
<br class="clear" />
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code -->
{$auto_dst_detection}
		</div>
                </div>
		</div></div>

Header:
<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" class="logol" /></a>
<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['imgdir']}/toplinks/forum.gif" alt="" title="" />Home</a></li>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$theme['imgdir']}/toplinks/search.gif" alt="" title="" />Search</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$theme['imgdir']}/toplinks/memberlist.gif" alt="" title="" />Members</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$theme['imgdir']}/toplinks/help.gif" alt="" title="" />{$lang->toplinks_help}</a></li>
                                        <li><a href="{$mybb->settings['bburl']}/award.php"><img src="{$theme['imgdir']}/toplinks/award.png" alt="" title="" />Awards</a></li>
					<li><a href="{$mybb->settings['bburl']}/mybanlist.php"><img src="{$theme['imgdir']}/toplinks/ban.png" alt="" title="" />Bans</a></li>
<li><a href="{$mybb->settings['bburl']}/contact.php"><img src="{$theme['imgdir']}/toplinks/contact.png" alt="" title="" />Contact</a></li>
<li><a href="http://conspiracymind.com/showthread.php?tid=83"><img src="{$theme['imgdir']}/toplinks/like.png" alt="" title="" />FB & TW</a></li>
					<li><a href="{$mybb->settings['bburl']}/donate.php"><img src="{$theme['imgdir']}/toplinks/donate.gif" alt="" title="" />Donate</a></li>
				</ul>
			</div>
</div>
<div class="clear"></div>

<script type="text/javascript" src="http://www.mollie.nl/partners/js/453695.js"></script>
 <div id="contentOut"><div id="container">
		<a name="top" id="top"></a>
		<div id="header">
{$unreadpmmsg}
			
<navigation>
</div>
			<hr class="hidden" />
<div class="contentwrap">
			<div id="panel">
				{$welcomeblock}
			</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">


			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}
			{$pending_joinrequests}
{$pm_notice}
			<link type="text/css" href="/cometchat/cometchatcss.php" rel="stylesheet" charset="utf-8">
<script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script>
			<br />
Try to remove from forumbit_depth1_cat the </div> at the bottom
That should fix the issue i think.

If that doesnt work, or causes weird issues. Try to add a <div> at the top instead. If you do this make sure you do not remove the bottom div.
Pages: 1 2