Log in

View Full Version : trying to add an advertisement in the navbar


yoyoyoyo
09-27-2007, 02:17 PM
I want to add an ad in the navbar, however it is not working out the way I want it to. I want the ad to be centered in the blank area between the forum title and the welcome message, but it comes out like this:

http://img227.imageshack.us/img227/5091/errorbf7.jpg

and I want it to look more like this:

http://img113.imageshack.us/img113/3341/errorxn2.jpg

The code I edited is this part:

<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions</strong></div>
</if>
</td>

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />and I edited it to look like this:

<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

[B] <td class="alt1" valign="center" nowrap="nowrap"><img src="http://mysite.com/blackbox.jpg"></td>

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />The part in bold is the part I added. what should I change in order to get it to look the way I want it to look? I have a fluid (not fixed) style, and I have tried quite a few things but so far can't get it to look the way I want ti to look. I know this is basic design work, and am hoping that someone can help me, for some reason I am not having any luck