MyBB Community Forums

Full Version: Is it possible to do this?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Yes, I am sure. I put it in the Header template. The code (not the code of the whole template though):
<div id="container">
		<a name="top" id="top"></a>
		<hr class="hidden" /><div id="content">
                          <div id="panel">{$welcomeblock}</div><div id="s_panel"><img src="images/Facebook.png" alt="Facebook" /></div><br /><br /><br /><br /><br />
			{$pm_notice}
                                      {$janguestnotice}			
                                      {$bannedwarning}
	                         {$bbclosedwarning}
		            {$unreadreports}
	                         {$pending_joinrequests}			<navigation><br />	
                                      {$board_messages}

There are two panels to separate them from each other in a easy way.
Also, panel has float: left; and s_panel has float: right;
set the padding, margin, and size of divs .
try this,
<style>
#panel{
width:40%;
border:1px solid green;
float:left;

}
#s_panel{
width:40%;
border:1px solid red;
float:right;

}
</style>
<div id="panel">{$welcomeblock}</div><div id="s_panel"><img src="images/Facebook.png" alt="Facebook" /></div>

Thank you so much Sunjava1! I removed the margin and the padding. And now it works the way I want! Big Grin
Pages: 1 2 3