PDA

View Full Version : How do i align this text?


dbirosel
04-13-2007, 12:27 AM
http://www.caraudiojunkyard.com/forum/showpost.php?p=13996&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:

<!-- 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.

<!-- 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
<center></center>?

dbirosel
04-13-2007, 01:10 AM
:-/ I did the same thing and it ruined the template.


http://www.caraudiojunkyard.com/forum/showpost.php?p=14089&postcount=2

have you tried
<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.