Site Alignment/Scaling

All style (template, theme and imageset) related questions for the new release; advice, feedback here please.
Post Reply
Dominus
Posts: 2
Joined: Wed Jul 12, 2006 5:36 pm

Site Alignment/Scaling

Post by Dominus »

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.

Gho$t
Posts: 3
Joined: Wed Jul 12, 2006 10:06 pm

Re: Site Alignment/Scaling

Post by Gho$t »

I suppose the easiest way would be to add a table around everything. In the overall_header.html:

Code: Select all

---FIND---------------------
<a name="top"></a>

---ADD AFTER----------------
<table width="xxxxx" align="center" cellpadding="0" cellspacing="0"><tr valign="top"><td>
Just replace xxxxx with the width you want, and in overall_footer.html:

Code: Select all

---FIND---------------------
</body>

---ADD BEFORE---------------
</td></tr></table>

profpete
Registered User
Posts: 140
Joined: Wed Dec 08, 2004 10:49 pm
Location: Wales, UK

Re: Site Alignment/Scaling

Post by profpete »

Putting the whole lot in a DIV would work better

ElbertF
Registered User
Posts: 583
Joined: Fri Dec 03, 2004 4:35 pm
Location: tracing..
Contact:

Re: Site Alignment/Scaling

Post by ElbertF »

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.

Dominus
Posts: 2
Joined: Wed Jul 12, 2006 5:36 pm

Re: Site Alignment/Scaling

Post by Dominus »

Any more idea's on what would be the most efficient way to do it? Currently trying out the table method.

Mephistox
Registered User
Posts: 30
Joined: Thu Oct 27, 2005 1:58 am

Re: Site Alignment/Scaling

Post by Mephistox »

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 :)

Post Reply