The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Banners Help
I am using brotator & finally got it working after going thru most of the post & reading, but I have a couple of issues (besides hair loss).
I got mine working, but it shows the same 2 banners on the right side by side. I need both on the right, but on on top and one on the bottom. here is my code. for single banners. fixed 1 logo only <!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"> <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"></td> <td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a> </td> </tr> </table> <!-- /logo --> for 2 banners as described. 2 logos on right. <!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"> <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"></td><td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a> </td> <td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a> </td> </tr> </table> <!-- /logo --> any Help to get the second logo below the other one would be appreciated, I would also like to add a banner to my navbar. thanks for the help. |
#2
|
|||
|
|||
Without a link to the site and looking at the code, i would try a <br /> in between the td's
</td><br /> <td align="$stylevar[right]"> |
#3
|
|||
|
|||
I dont have it on my board yet, i mess with things offline b4 i make any changes to the actual board,it has kept me out of trouble ;-')
Ill try thst, thanks |
#4
|
|||
|
|||
NO do not put a break tag in there. Tables have rows and columns, you have both showing in the same row, add a closing and opening <tr> tag to seperate them into different rows instead of 2 columns in the same row.
|
#5
|
|||
|
|||
Quote:
2 logos on right. <!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"> <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"></td> <tr> <td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a> </tr> </td> <td align="$stylevar[right]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a> </td> </tr> </table> <!-- /logo --> |
#6
|
|||
|
|||
No... You should read this
http://www.w3schools.com/html/html_tables.asp Quote:
example fix... Quote:
The blue is an extra cell added to keep the same amount of cells in each row. You can move this below or after the the second banner cell depending on how you want it aligned. |
#7
|
|||
|
|||
Thanks, ill try to get it working right now
--------------- Added [DATE]1216581744[/DATE] at [TIME]1216581744[/TIME] --------------- they still show side by side,but now they have a space between them, I copied the code you left here. I am going to play with it, ill post if I am succesful. --------------- Added [DATE]1216582342[/DATE] at [TIME]1216582342[/TIME] --------------- I needed to do it on the style that i wanted to change.. now I need to mess with the aligment, first banner is on the right, second is centered below the title & first banner. --------------- Added [DATE]1216582566[/DATE] at [TIME]1216582566[/TIME] --------------- the banners oth have "$stylevar[right]" yer one banner is on the right, the other is centered below? --------------- Added [DATE]1216583447[/DATE] at [TIME]1216583447[/TIME] --------------- working now,,,,, 1 issue, I took out the nbsp as my 2 banners (now both on the rigth thanks) are bigger than my title image & they have a huge space between them, how do I get rid of the space? or how do I make the space between them smaller? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|