Thread: center header

Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2007
    Location
    south africa
    Posts
    73
    Plugin Contributions
    0

    Default center header

    hi i am looking for how to center my header

    www.sareefkeeping.com/shop

    i have tried this infront of my header but it does not center

    <div id=text-align: center>

    what have i done wrong?

  2. #2
    Join Date
    Jul 2007
    Location
    south africa
    Posts
    73
    Plugin Contributions
    0

    Default Re: center header

    here is the whole code i added to the header wrapper

    Code:
    <div id=text-align: center><!-- logo -->
    <!-- logo -->
    <a name="top"></a>
    
    
    <table width="$stylevar[outertablewidth]" border="0" cellpadding="0" cellspacing="0" background="http://www.pixeldeath.com/SARK/header_images/reef_background.jpg" bgcolor="#003366">
      <tr>
        <td align="left" valign="top"><table width="823" height="122" border="0" align="left" cellpadding="0" cellspacing="0">
          <tr>
            <td width="223" height="122" rowspan="2" align="left" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="http://www.sareefkeeping.com/header_images/sareefkeeping.jpg" alt="$vboptions[bbtitle]" width="223" height="122" border="0" /></a></td>
            <td width="600" height="30" align="left" valign="top"><img src="http://www.pixeldeath.com/SARK/header_images/reef_top.jpg" width="600" height="30" /></td>
          </tr>
          <tr>
            <td width="600" height="92" align="left" valign="top"><table width="600" height="92" border="0" align="left" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="82" height="92" rowspan="2" align="left" valign="top"><img src="http://www.pixeldeath.com/SARK/header_images/reef_mid1.jpg" width="82" height="92" /></td>
                  <td width="470" height="92" align="center" valign="middle"><table width="470" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="470" height="60" align="center" valign="middle"><script language='JavaScript' type='text/javascript' src='http://sareefkeeping.com/sponsors/adx.js'></script>
                              <script language='JavaScript' type='text/javascript'>
    <!--
     if (!document.phpAds_used) document.phpAds_used = ',';
     phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
     
     document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
     document.write ("http://sareefkeeping.com/sponsors/adjs.php?n=" + phpAds_random);
     document.write ("&amp;exclude=" + document.phpAds_used);
     if (document.referrer)
        document.write ("&amp;referer=" + escape(document.referrer));
     document.write ("'><" + "/script>");
    //-->
            </script>
                              <noscript>
                              <a href='http://sareefkeeping.com/sponsors/adclick.php?n=a8aaea30' target='_blank'></a>
                              </noscript>
                        </td>
                        </tr>
                    </table></td>
                  <td width="48" height="92" rowspan="2" align="left" valign="top"></td>
                </tr>
              </table>
                <noscript>
              </noscript></td>
          </tr>
          
        </table>      </td>
      </tr>
      <tr align="left" valign="middle">
            <td height="22" colspan="2" valign="top"><div align="center"><img src="http://www.sareefkeeping.com/header_images/reef_menu.jpg" width="823" height="22" border="0" usemap="#Map" />
                <map name="Map" id="Map">
                  <area shape="rect" coords="12,2,71,21" href="http://www.sareefkeeping.com" target="_self" />
                  <area shape="rect" coords="74,3,145,20" href="http://www.sareefkeeping.com/forum/" target="_self" />
                  <area shape="rect" coords="148,3,205,20" href="http://www.sareefkeeping.com/staff.php" target="_blank" />
                  <area shape="rect" coords="208,3,298,21" href="http://www.sareefkeeping.com/sponsors.php" target="_blank" />
                  <area shape="rect" coords="301,3,357,21" href="http://www.sareefkeeping.com/PSTM/" target="_self" />
    
                  <area shape="rect" coords="359,3,444,25" href="http://www.sareefkeeping.com/photoplog" target="_blank" />
                  <area shape="rect" coords="446,2,539,25" href="http://www.sareefkeeping.com/forum/glossary.php?" target="_blank" />
                  <area shape="rect" coords="543,1,630,24" href="http://www.sareefkeeping.com/forum/faq.php?faq=beginner#faq_abbre_faq_item" target="_blank" />
                  <area shape="rect" coords="633,2,711,25" href="http://www.sareefkeeping.com/forum/local_links.php" target="_blank" />
                  <area shape="rect" coords="712,3,809,23" href="http://www.sareefkeeping.com/" target="_self" />
                  </map>
            </div></td>
          </tr>
    </table>
    <!-- /logo -->
    
    <!-- content table -->
     
    </div>

  3. #3
    Join Date
    Jul 2007
    Location
    south africa
    Posts
    73
    Plugin Contributions
    0

    Default Re: center header

    anyone?

  4. #4
    Join Date
    Jul 2007
    Location
    south africa
    Posts
    73
    Plugin Contributions
    0

  5. #5
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: center header

    Part of the issue is that you've fiddled about with your core code and the fundamentals of the template. This makes it extremely difficult for others to offer soultions, as we are no longer working with known entities.

    When people make extensive personalised edits to the code, it can take others ages to figure out what you've done. Unfortunately no-one has time to spend trying to figure out what customisations are involved - especially if these are hacks to the core code.

  6. #6
    Join Date
    Jul 2007
    Location
    south africa
    Posts
    73
    Plugin Contributions
    0

    Default Re: center header

    okay that is fair enough, any tips for me then?

  7. #7
    Join Date
    Jul 2007
    Location
    south africa
    Posts
    73
    Plugin Contributions
    0

    Default Re: center header

    okay so i played around abit and adjusted all i did was adjust the table width to 100%

 

 

Similar Threads

  1. v139h center Header Title
    By mlapage in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 28 Jul 2012, 05:34 PM
  2. v139h Center center logo in header
    By brush4hire in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 May 2012, 01:44 PM
  3. Header off center
    By timhersh in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Mar 2012, 06:26 PM
  4. Unable to center header?
    By aesthetics in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 5 Dec 2008, 10:22 PM

Posting Permissions

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