Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2005
    Location
    Manchester, UK
    Posts
    731
    Tokens
    0
    Habbo
    pappalou

    Default Centralise a banner in vB..

    Code:
    <!-- logo -->
    <a name="top"></a>
    <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
    <tr>
    	<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>
    	<td align="$stylevar[right]" id="header_right_cell">
    		<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
    	</td>
    </tr>
    </table>
    <!-- /logo -->
    
    <!-- content table -->
    $spacer_open
    
    $_phpinclude_output
    
    $ad_location[ad_header_end]
    thats the vB code in the header template

    where do i put <center> tags to centralise my banner?

    EDIT: also wondering how you would put a boarder in this;



    in vb
    Last edited by PappaLou; 01-09-2008 at 12:36 AM.

  2. #2
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    4,753
    Tokens
    1,860
    Habbo
    ,Alpha,

    Latest Awards:

    Default

    PHP Code:
    <center><!-- logo -->
    <
    a name="top"></a>
    <
    table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
    <
    tr>
    <
    td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/></a></td>
    <
    td align="$stylevar[right]id="header_right_cell">
    <if 
    condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
    </
    td>
    </
    tr>
    </
    table></center>
    <!-- /
    logo -->

    <!-- 
    content table -->
    $spacer_open

    $_phpinclude_output

    $ad_location
    [ad_header_end

  3. #3
    Join Date
    Jul 2005
    Location
    Manchester, UK
    Posts
    731
    Tokens
    0
    Habbo
    pappalou

    Default

    dnt work g

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •