Help with center

Discussion in 'HTML' started by Ulle, Apr 9, 2006.

  1. Ulle

    Ulle Guest

    Hi there :)

    I need to center this picture :

    Go here to see what i mean : http://bfv.sega-star.com/

    As you cna see the picture is in left, how can i center this, the code is :

    <html>
    <head>
    <title><tmpl_var name="TITLE"></title>
    <link rel="stylesheet" href="{tmpl_var name='CSS'}" type="text/css">
    </head>
    <body>
    <table width="95%" border="1" align="center">
    <tr class="head">
    <th colspan="12" class="super" scope="col">Server-Information</th>
    </tr>
    <tr>
    <td width=150><img src="{tmpl_var name='IMAGES_DIR'}bfvbanner.jpg"></td>
    </table>
    <p>
    <table class=buttonmenu width=95% align=center>
    <tr>
    <td class=contextbar colspan=15><b>Navigation</b>
    <tmpl_loop name="CONTEXTBAR">
    <img src="{tmpl_var name='IMAGES_DIR'}arrow_right.gif">
    <tmpl_if name="link"><a href="{tmpl_var name='link'}"
    class=white></tmpl_if>
    <tmpl_var name="name">
    <tmpl_if name="link"></a></tmpl_if>
    </tmpl_loop>
    </td>
    </tr>
    <tr>
    <tmpl_loop name="NAVBAR">
    <td width=16% class=buttonInActive onClick="javascript:
    window.location.href='{tmpl_var name='link'}';"
    onMouseOver="this.className='buttonActive'; this.style.cursor='hand';"
    onMouseOut="this.className='buttonInActive';"><a href="{tmpl_var
    name='link'}" class=button><tmpl_var name='name'></a></td>
    </tmpl_loop>
    </tr>
    </table>
    <p>

    Regards
    Ulle
    Ulle, Apr 9, 2006
    #1
    1. Advertising

  2. Ulle

    Jim Higson Guest

    Ulle wrote:

    > Hi there :)
    >
    > I need to center this picture :
    >
    > Go here to see what i mean : http://bfv.sega-star.com/
    >
    > As you cna see the picture is in left, how can i center this, the code is


    [snip a load of HTML]

    This page should have everything you need about centreing:

    http://www.w3.org/Style/Examples/007/center.html

    > <tmpl_loop name="CONTEXTBAR">


    What is tmpl_loop?

    --
    Jim
    Jim Higson, Apr 9, 2006
    #2
    1. Advertising

  3. David Dorward, Apr 9, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    376
  2. Sypher
    Replies:
    22
    Views:
    99,304
    xarzu
    Oct 19, 2011
  3. JSOUL
    Replies:
    3
    Views:
    4,083
    Jonathan N. Little
    Feb 11, 2006
  4. Leveridge Systems INC
    Replies:
    1
    Views:
    391
    red floyd
    May 13, 2004
  5. vikas
    Replies:
    0
    Views:
    290
    vikas
    Jan 12, 2008
Loading...

Share This Page