Topic: I can't seem to center it right!

http://ccplease.yfma.com/WEBSITE/llclanforums/index.php
I'm trying to make the layout fit cleanly, it obviously isn't doing that.
Any suggestions?

Re: I can't seem to center it right!

have you tried padding??

Sorry. Unactive due to personal life.

Re: I can't seem to center it right!

matt1298 wrote:

have you tried padding??

Nope, to be honest I have never really done that before...
Would you be able to show me how?

Re: I can't seem to center it right!

/****************************************************************/
/* 5. VERTICAL AND PAGE SPACING */
/****************************************************************/

/* 5.1 Page margins */

HTML, BODY {MARGIN: 0; PADDING: 3}
#punwrap {width: 734px; margin:0px 0px}

/* 5.2 Creates vertical space between main board elements (Margins) */

DIV.blocktable, DIV.block, DIV.blockform, DIV.block2col, #postreview {MARGIN-BOTTOM: 12px}
#punindex DIV.blocktable, DIV.blockpost {MARGIN-BOTTOM: 6px}
DIV.block2col DIV.blockform, DIV.block2col DIV.block {MARGIN-BOTTOM: 0px}

/* 5.3 Remove space above breadcrumbs, postlinks and pagelinks with a negative top margin */

DIV.linkst, DIV.linksb {MARGIN-TOP: -12px}
DIV.postlinksb {MARGIN-TOP: -6px}

/* 5.4 Put a 12px gap above the board information box in index because the category tables only
have a 6px space beneath them */

#brdstats {MARGIN-TOP: 12px}

Re: I can't seem to center it right!

I have fixed most of it, but the main tables are still messed up... Hmm...

Re: I can't seem to center it right!

http://ccplease.yfma.com/WEBSITE/llclan … e/main.tpl

Re: I can't seem to center it right!

you only need

<div id="punwrap">
<div id="pun<pun_page>" class="pun">

once in the main tpl

you are closing the head more than once

Sorry. Unactive due to personal life.

Re: I can't seem to center it right!

I just removed the extras. Look what happened :S

9

Re: I can't seem to center it right!

It's hardly surprising your layout is screwed:

http://validator.w3.org/check?uri=http% … mp;group=0

Re: I can't seem to center it right!

Wait! I just changed it a bit and it looks better.