Log in

View Full Version : Changed new post/ thread to centre text as default...


technom8t
09-14-2008, 10:39 AM
Ok so when you go to do a new thread or post, everything by default , is aligned to the left, i simply want to make ''center'' text as my default, how do i do this??

Thanks in advance
Tech

Lynne
09-14-2008, 03:02 PM
It's hard to tell exactly what you want since you provided no image, but if you just want the post message centered, find this in your postbit(_legacy):
<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

And change it to:
<!-- message -->
<div id="post_message_$post[postid]" style="text-align:center;">$post[message]</div>
<!-- / message -->

That may or may not work for IE. Another method you may try is:
<!-- message -->
<div id="post_message_$post[postid]" style="margin-left: auto; margin-right: auto;">$post[message]</div>
<!-- / message -->