Centering Centering
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Centering

Started by danieljradcliffe, January 06, 2005, 12:30:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

danieljradcliffe

Hello, on my photogallery you see  www.danieljradcliffe.com/photogallery   a bunch of info is on the side, I can't figure out how to get that to go down a few <br>'s so the banner will be centered. Any ideas?

kegobeer

Do you know how a <table> construct works?

In template.html, you need to put your logo in one row and the menu in a row beneath it.  Something like this.

                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                       <tr>
                                <td align="center"><a href="index.php"><img src="themes/classic/images/site_logo.png" alt="" border="0" /><br /></a></td>
                       </tr>
                       <tr>
                                <td width="100%" align="center">
                                        <h1>{GAL_NAME}</h1>
                                        <h3>{GAL_DESCRIPTION}</h3><br />
                                        {MAIN_MENU}
                                </td>
                        </tr>
                </table>


Don't send me private messages unless I request it.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots