MyBB Central

Full Version: Header part
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello people. I want to put on right of header a donate buuton from paypal.. so .. i have put like this.

Code:
<a name="top" id="top"></a>
    <div id="container">
        <div id="header">
            <div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a><div align="right">cod</div></div>

            <div class="menu">
                <ul>
                    <li><a href="/disclaimer.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/portal.gif" alt="" />Disclaimer</a></li>
                    <li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
                    <li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />{$lang->toplinks_memberlist}</a></li>
                    <li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_calendar}</a></li>
                    <li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
                </ul>
            </div>
            <hr class="hidden" />
            <div id="panel">
                {$welcomeblock}
            </div>
        </div>
        <hr class="hidden" />
        <br class="clear" />
        <div id="content">
            {$bannedwarning}
            {$bbclosedwarning}
            {$unreadreports}
            <navigation>
            <br class="clear" />

And it`s show me like this.
[Image: 314ytzc.jpg]
and i dont want under header .. i want to be at same nivel with logo !! Big Grin can you understand me!? thanksBig Grin
I have something similar on my site with google ads. Should work the same with what you want. I tried different things and could only get the following to work. Maybe someone else here has a better idea, but this will put your code to the right of your logo.

PHP Code:
<div id="header">
            <
div class="logo"><table><td><a href="{$mybb->settings['bburl']}/index.php">
<
img src="{$theme['logo']}alt="{$mybb->settings['bbname']}/></a></td><td>code</td></table></div
let`s see!!Big Grin thanks
--------
Working Thanks