Announcement

Collapse
No announcement yet.

Centering header

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Centering header

    Why isn't my header centering?

    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>
    <td align="$stylevar[center]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    </tr>
    </table>
    <!-- /logo -->
    <br><br><br>
    <!-- content table -->
    $spacer_open

    $_phpinclude_output
    </td>
    </tr>
    </table>
    <!-- /logo -->

    <!-- content table -->
    $spacer_open

    $_phpinclude_output

    <br>
    Last edited by John F.; Mon 2nd Jun '08, 9:52pm.

  • #2
    link is to see it: www.astrospoint.com

    Comment


    • #3
      There is no $stylevar[center] center is always center regardless of the language.


      use align="center" instead.

      Comment


      • #4
        Thank you.

        Comment


        • #5
          This is the header file centered for anyone who wants it:

          <br>
          <!-- logo -->
          <a name="top"></a>
          <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
          <tr>
          <td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
          </tr>
          </table>
          <!-- /logo -->

          <!-- content table -->
          $spacer_open

          $_phpinclude_output
          </td>
          </tr>
          </table>
          <!-- /logo -->

          <!-- content table -->
          $spacer_open

          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X