PDA

View Full Version : Why is it not centered?



Blurredream
Mon 11th Oct '04, 2:16am
Here is my last questions..at least I think it it ;)

http://img.photobucket.com/albums/v381/Blurredream/help.jpg

Why isn't there a gap on the right like there is on the left? (on the side of the box where you type in)

Its pushed up against the side. How can I fix this?

cbiweb
Mon 11th Oct '04, 9:55am
The problem is in either the newthread template or newreply. You didn't say which type of message the screenshot shows, so I can't say where the problem is specifically.

If I get a few spare moments soon I will look into it and find the exact solution for you; or maybe someone else will come along with it before I do. :)

Blurredream
Mon 11th Oct '04, 3:54pm
Thats when you are in advanced.

cbiweb
Mon 11th Oct '04, 7:12pm
Thats when you are in advanced.Yes, it is the advanced mode for the WYSIWYG editor, but I was wondering what kind of message it is. ... a reply? a new thread?

Turns out it doesn't matter anyway, the fix is the same for both. Go to:
Admin CP > Styles & Templates > Style Manager > ... > Edit Templates > New Posting Templates

In there you will find the newreply template and newthread template.

In each one, look for the following string of code, and make sure it says the same thing as the part that I highlighted in red:

</tr>
<tr>
<td class="panelsurround" align="center">
<div class="panel">
<div style="width:$stylevar[formwidth]" align="$stylevar[left]">

Chances are yours says align="right", right? :) If this does not solve your problem, let me know and I'll try to figure out what's going on.