vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   HTML align help needed (https://vborg.vbsupport.ru/showthread.php?t=206206)

viper357 02-22-2009 08:31 AM

HTML align help needed
 
Hi everyone

I need a bit of help with aligning some banners in my forum please. :)

What I am trying to do is to get the banners to be placed on the far right next to the last post column. I tried these two different pieces of code in the Forum Description box:

<br>
<td align="right"><A HREF="http://www.ecoaquatics.co.za" target="_blank"><IMG SRC="/banners/ecoaquaticsbanner.gif" border="0"></A></td>

and

<br>
<div align="right" width="100%" style="text-align: right"><A HREF="http://www.ecoaquatics.co.za" target="_blank"><IMG SRC="/banners/ecoaquaticsbanner.gif" border="0"></A></div>

As you can see on this page, the first 3 banners currently sit right next to the end of the text, how do I get them to move all the way to the right?

Thanks.

bananalive 02-22-2009 12:04 PM

<div width="100%" style="text-align: right; float: right;"><a href="http://www.ecoaquatics.co.za" target="_blank"><img src="/banners/ecoaquaticsbanner.gif" border="0"></a></div>

viper357 02-22-2009 12:31 PM

Quote:

Originally Posted by bananalive (Post 1751354)
<div width="100%" style="text-align: right; float: right;"><a href="http://www.ecoaquatics.co.za" target="_blank"><img src="/banners/ecoaquaticsbanner.gif" border="0"></a></div>

Thanks bananalive but it didn't work, the banner is still on the left :(

mmoore5553 02-22-2009 01:21 PM

you could actually use CSS to align it very easy ... i sent you a pm

but you could do it like this
<div style="text-align: right; position: absolute; left: 480px; top: 765px;" width="100%"><a target="_blank" href="http://www.ecoaquatics.co.za"><img border="0" src="/banners/ecoaquaticsbanner.gif"/></a></div>

but you would have to do that ...you might have to play alittle with it. The reason it is not centering now is cause there is nothing for it to center. They way vbuleltin is setup you have to add another column and center that way ..

questions or issues let me know . i am would add that and change the variables for each photo..if you use the same numbers you will have them all on top of eaach other ..or the easier way just put another column and label it for banners and put it there ... there might be another way but if i dont see code or how that template is laid out that is best posibble i could come up with ...without seeing the forum of course.


All times are GMT. The time now is 02:39 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00943 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete