Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Centering  (Read 3022 times)

0 Members and 1 Guest are viewing this topic.

danieljradcliffe

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 39
Centering
« on: January 06, 2005, 12:30:56 am »

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?
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Centering
« Reply #1 on: January 06, 2005, 05:00:12 am »

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.

Code: [Select]
                <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.
Logged
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
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.