Site Alignment/Scaling
Site Alignment/Scaling
I was wondering what file I would be able to align my forum to the center of the page and set the whole of it to a specific size - The methods I used for phpBB2.2 only half work.
Re: Site Alignment/Scaling
I suppose the easiest way would be to add a table around everything. In the overall_header.html:
Just replace xxxxx with the width you want, and in overall_footer.html:
Code: Select all
---FIND---------------------
<a name="top"></a>
---ADD AFTER----------------
<table width="xxxxx" align="center" cellpadding="0" cellspacing="0"><tr valign="top"><td>
Code: Select all
---FIND---------------------
</body>
---ADD BEFORE---------------
</td></tr></table>
Re: Site Alignment/Scaling
Putting the whole lot in a DIV would work better
Re: Site Alignment/Scaling
You wouldn't need tables for that, and what's that attribute doing in a table row tag? And, a table with a fixed width doesn't center by itself.
Re: Site Alignment/Scaling
Any more idea's on what would be the most efficient way to do it? Currently trying out the table method.
Re: Site Alignment/Scaling
Dominus wrote: Any more idea's on what would be the most efficient way to do it? Currently trying out the table method.
efficiency smeficiency.
If it works well, don't fix it