Hmmm, another quick question for Dartho or anyone else who speaks code, apologies if this should be in another thread.
If possible, I would like to align the 'Report' and 'Infraction' button to the left side, and the 'Reply' and 'Edit' buttons to the right. I worked out how to do it using a new div tag, but that pushed the right side onto a new line (which I don't want).
Here's what I'm working with, is there an easy mod to make this work?
Code:
<div class="{vb:raw post.statustitle}windowbg2" id="post{vb:raw post.postid}">
<a name="post{vb:raw post.postid}"></a>
<a href="{vb:link member, {vb:raw post}}">{vb:raw post.username}</a> {vb:raw post.posttime} {vb:raw post.postdate}
<vb:if condition="$show['avatar']"><br />
<a href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
</a>
</vb:if>
</div>
<div class="windowbg">{vb:raw post.message}<br /><br />
<!-- attachments -->
<vb:if condition="$show['attachments']">
<div><span>Attached: </span>
<vb:if condition="$show['thumbnailattachment']">
<span>{vb:raw post.thumbnailattachments}<br /></span>
</vb:if>
<vb:if condition="$show['imageattachment']">
<span>{vb:raw post.imageattachments}<br /></span>
</vb:if>
<vb:if condition="$show['imageattachmentlink']">
<span>{vb:raw post.imageattachmentlinks}<br /></span>
</vb:if>
<vb:if condition="$show['otherattachment']">
<span>{vb:raw post.otherattachments}<br /></span>
</vb:if>
<vb:if condition="$show['moderatedattachment']">
<span>{vb:raw post.moderatedattachments}<br /></span>
</vb:if>
</div>
<!-- / attachments -->
</vb:if>
<vb:if condition="$show['reportlink']"><a id="btn" href="{vb:raw post.reportlink}" rel="nofollow">{vb:rawphrase report_bad_post}</a></vb:if>
<vb:if condition="$show['infractionlink']">
<vb:if condition="$post['editlink']"><a id="btn" href="{vb:raw post.editlink}">{vb:rawphrase edit}</a></vb:if>
<vb:if condition="$post['replylink']"><a id="btn" href="{vb:raw post.replylink}" id="qrwq_{vb:raw post.postid}" rel="nofollow">{vb:rawphrase reply}</a></vb:if>
<a id="btn" href="infraction.php?{vb:raw session.sessionurl}do=report&p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase add_infraction_for_x, {vb:raw post.username}}">Infraction</a>
</vb:if>
<vb:if condition="$show['redcard']">
<a class="redcard" href="infraction.php?{vb:raw session.sessionurl}do=view&p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_infraction}"><img border="0" src="{vb:stylevar imgdir_button}/red-card_sm.png" alt="{vb:rawphrase received_infraction}" /></a>
<vb:elseif condition="$show['yellowcard']" />
<a class="yellowcard" href="infraction.php?{vb:raw session.sessionurl}do=view&p={vb:raw post.postid}" rel="nofollow" title="{vb:rawphrase received_warning}"><img border="0" src="{vb:stylevar imgdir_button}/yellow-card_sm.png" alt="{vb:rawphrase received_warning}" /></a>
</vb:if>
</div>
<vb:if condition="$post['isfirstshown']">
{vb:raw ad_location.ad_showthread_firstpost_start}
{vb:raw ad_location.thread_first_post_content}
</vb:if>
<vb:if condition="$post['islastshown']">
{vb:raw ad_location.thread_last_post_content}
</vb:if>