Help center my logo please :(!

Discussion in 'PHP' started by birdsfly, Jul 3, 2007.

  1. #1
    I'm a real noob @ php and just wanted to know how to center a logo on my site...Believe it or not, I'm actually quite intelligent, that's why I found the bit of code that points to the logo (logo.jpg), now all I need is instructions on what to edit...

    echo '
    </head>
    <body>';

    echo '
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td id="top-logo"><img src="', $settings['images_url'], '/logo.jpg" width="358" height="91" alt="SlickPro Graphite" title="SlickPro Graphite" /></td>
    </tr>
    <tr>
    <td width="100%" align="left" valign="top" style="padding:0 30px 0 30px;">';

    echo '
    <div class="body-border">
    <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>';

    Someone help?

    Btw, the site is www.melbshuffle.com
     
    birdsfly, Jul 3, 2007 IP
  2. raztastic

    raztastic Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <td width="100%" align="left" valign="top" style="padding:0 30px 0 30px;">';

    change the left on this line to center and i believe it should work.
     
    raztastic, Jul 3, 2007 IP