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?
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → 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?
have you tried padding??
have you tried padding??
Nope, to be honest I have never really done that before...
Would you be able to show me how?
/****************************************************************/
/* 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}
I have fixed most of it, but the main tables are still messed up... Hmm...
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
I just removed the extras. Look what happened :S
It's hardly surprising your layout is screwed:
Wait! I just changed it a bit and it looks better.
PunBB Forums → PunBB 1.2 modifications, plugins and integrations → I can't seem to center it right!
Powered by PunBB, supported by Informer Technologies, Inc.