PDA

View Full Version : Simple question; how to line up postbit icons vertically


steampunks
04-03-2009, 09:05 PM
They appear as so, with the Reputation icon high than the others:

https://vborg.vbsupport.ru/external/2009/04/143.jpg


<td class="postbit bright" align="center">

<center>


<if condition="$show['member']">$post[onlinestatus] </if>
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]">
<a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>


<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>

<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" style="padding-left: 4px; padding-right: 4px;" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>


<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" style="padding-left: 4px; padding-right: 4px;" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]


</center>

</td>

Lynne
04-03-2009, 09:24 PM
Why do you have a span around it? Try taking that out.

steampunks
04-05-2009, 01:58 PM
Looks the same without the Span tag.

Lynne
04-05-2009, 02:44 PM
Get the firebug plugin for firefox and then play with the css directly and see if you can figure it out. (It's very hard to figure out an issue like that without actually seeing it/being able to play with it.)