vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   How do i align this text? (https://vborg.vbsupport.ru/showthread.php?t=144711)

dbirosel 04-13-2007 12:27 AM

How do i align this text?
 
http://www.caraudiojunkyard.com/foru...6&postcount=21


Look at the footer by the controls. I am refering to the text:

[ Thanks: 18 ] Thanked 24 Times in 15 Posts


I want it aligned with the controls and look cleaner. How do i accomplish this goal?


Here's my code:
Code:

<!-- Start Post Thank You Hack -->
<if condition="$post[userid]">
[ <strong>$vbphrase[post_thanks_thanks]:</strong> $post[post_thanks_user_amount_formatted] ]
<if condition="$post[post_thanks_thanked_times] == 1">
<strong>$vbphrase[post_thanks_time_post]</strong>
<else />
<if condition="$post[post_thanks_thanked_posts] == 1">
<phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">$vbphrase[post_thanks_times_posts]</phrase>
</if>
</if>
</if>
<!-- End Post Thank You Hack -->


UltimateOreo! 04-13-2007 12:33 AM

I could help you out if I knew which controls you were talking about.

dbirosel 04-13-2007 12:37 AM

The buttons i mean. The edit, quote, etc.

Just look at the link i provided, and look at the Thanks text. It looks nasty in that kind of position. How do i line it up?

UltimateOreo! 04-13-2007 01:02 AM

Are you looking to move the text to the left?

dbirosel 04-13-2007 01:04 AM

Yes... i want to center it, and then have the text line up with the graphics.

i tried <div align="center"></div> but it would go to it's own line and center.

UltimateOreo! 04-13-2007 01:06 AM

I am going to assume you want to align it left, so here is a copy and paste with the text alligned.
Code:

<!-- Start Post Thank You Hack -->
<div align=left>
<if condition="$post[userid]">
[ <strong>$vbphrase[post_thanks_thanks]:</strong> $post[post_thanks_user_amount_formatted] ]
<if condition="$post[post_thanks_thanked_times] == 1">
<strong>$vbphrase[post_thanks_time_post]</strong>
<else />
<if condition="$post[post_thanks_thanked_posts] == 1">
<phrase 1="$post[post_thanks_thanked_times_formatted]">$vbphrase[post_thanks_times_post]</phrase>
<else />
<phrase 1="$post[post_thanks_thanked_times_formatted]" 2="$post[post_thanks_thanked_posts_formatted]">$vbphrase[post_thanks_times_posts]</phrase>
</div>
</if>
</if>
</if>
<!-- End Post Thank You Hack -->

EDIT- sorry, late post, but you might just want to use a lot of &nbsp; Its just a single space in HTML.

HMBeaty 04-13-2007 01:07 AM

have you tried
HTML Code:

<center></center>
?

dbirosel 04-13-2007 01:10 AM

:-/ I did the same thing and it ruined the template.


http://www.caraudiojunkyard.com/foru...89&postcount=2

Quote:

Originally Posted by Redlinemotorsports (Post 1226360)
have you tried
HTML Code:

<center></center>
?

:( Create's it's own line.

Poker Face 10-17-2010 10:09 PM

I've got the same issue...

By default (up installation) this is where this text aligned...

https://vborg.vbsupport.ru/

Where is this placement code found, allowing this text to be moved to the left with the rest?

BirdOPrey5 10-18-2010 05:08 PM

vBulletin 4 code is very different than vBulletin 3 code, you should start a new thread in the vBulletin 4 section.


All times are GMT. The time now is 07:52 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.01012 seconds
  • Memory Usage 1,733KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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