[Help] Align rank image with rank name horizontally?

This forum is now closed as part of retiring phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
KE5EHI
Registered User
Posts: 68
Joined: Mon Aug 28, 2006 5:55 pm
Location: Tulsa, OK

[Help] Align rank image with rank name horizontally?

Post by KE5EHI »

Okay, I'm getting irritated, so I've come to ask for help. I'm trying to get the rank name and image to be next to each other. I've switched them around in the viewtopic_body.tpl file so it looks like this

Code: Select all

<span class="postdetails">{postrow.RANK_IMAGE}{postrow.POSTER_RANK}<br /><br />{postrow.POSTER_AVATAR}<br />
So my viewtopic looks like this

----------------
| Name
|*rank_img*
| Rank
|

What I'm trying to do is make the rank image and name sit next to each other like this

-------------------------
| Name
|*rank_img* Rank
|

The rank images are 20px high; is there a way to make the rank title aligned=middle? Like...

*****
*IMG* Rank Title
*****

I don't know where it's set that the rank image has a break after it, but I just need to change it in the viewtopic only. Everywhere else is fine (I've added it to my memberlist and profile information for users). I've tried to use <div> tags, but I haven't gotten it to work.

Thanks!
KE5EHI
Registered User
Posts: 68
Joined: Mon Aug 28, 2006 5:55 pm
Location: Tulsa, OK

Post by KE5EHI »

Which file would control how RANK_IMAGE is handled? Like where it might say if it has a break after it or not?
"First rule in government spending: why build one when you can have two at twice the price?"
Post Reply

Return to “[2.0.x] MOD Requests”