TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 446
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 127
  • Total: 128
  • lurkalot

Header woes

Started by mr tart, December 13, 2006, 02:10:58 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mr tart

Using the default theme and SMF 1.1/TP 0.9.7

http://www.southwalesprojumping.co.uk/index.php

I'm trying to make the logo centered and with the table background black (so there is no blue in the header at all.

This is what I've changed my index.template to:
<body>';
// TinyPortal start
     if($context['TPortal']['fixed_width']!=0)
             echo '<table align="center" width="'.$context['TPortal']['fixed_width'].'" cellpadding="0" cellspacing="0" border="0"><tr><td>';

// TinyPortal end

   echo '
   <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
      <table width="100%" bgcolor="black" cellpadding="0" cellspacing="0" border="0">
         <tr>
            <td align="center" bgcolor="black">
               <img src="', $settings['images_url'], '/defaultheader1.png" alt="" />
            </td>
         </tr>
      </table>';


I cant see anywhere else where changes need to be made so what am I missing?

Matt

mr tart


This website is proudly hosted on Crocweb Cloud Website Hosting.