Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Dynamic Signature configuration question, Alignment of the center text
eNforcer
post Feb 24 2007, 09:17 PM
Post #1


Newbie
*

Group: Members
Posts: 3
Joined: 3-July 06
Member No.: 85



Hi there

I've been looking over the php for a while (i don't know much php at all) but can't figure out how to change the alignment of the center Artist - Title text.

Any help would be appreciated!

Trying to align it more to the right
http://www.areyouserios.com/foobar/signature.php

Edit:

I was messing around with this line and got it to align it to the right of the image, however it would be nice if I could add some padding to the right of it.

So, how can I add padding to this line?

$horiz_indent = (($img_size[0] - $text_size[4]) / 1);

Edit:

lol @ guess work. Since I wasn't using the top and bottom text I just did this:
$horiz_indent = (($img_size[0] - $config['padding'] - $text_size[4]) / 1);

Edit:
Ah, it wasn't quite what I wanted, so I split the image so that it still centers and just use two images in my signatuer on forums to give the appearance of one.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: