General Community > Scripting Help

SSI - Alignment ?

(1/4) > >>

KrisiS:
Hello,

Is it possible to have the script for recent topics align to the left?
In the attached image you can see where certain topics make the alignment look crap.

Thanks

System32Cro:
it's your problem not SSI, show you html code!

floridaflatlander:
I put stuff in it's own div and style that, also I think I assigned an h5 tag to the text(but I had to do this in the ssi function it's self and once again, I think).

System32Cro:
using align="left" you can align it normal
example:

--- Code: ---<div align="left">stuff</div>
--- End code ---

KrisiS:

--- Code: ---<tr height="155" valign="top" width="700">
<td>
<div id="forum" align="left">
<h4>Latest forum posts</h4>
<?php ssi_recentPosts(4, array(9,12,26,27,46,36,39,38,55,10,3,24)); ?>
<a href="http://ugn-gaming.com/forum/index.php?action=recent"><font color="red">View Most recent forum posts</font></a>
</div>
    </td>
</tr>

--- End code ---

When I change
--- Code: ---<div id="forum" align="left">
--- End code ---
to

--- Code: ---<div id="forum" align="right">
--- End code ---

If simply aligns the <H4> and 'View most recent forum posts' - to the right. When I have it aligned left, they align left but the SSI text does not change its position.

Navigation

[0] Message Index

[#] Next page

Go to full version