Results 1 to 8 of 8
  1. #1

    Default Border around whole page

    how do i remove the small white border around my whole site?

    is it a padding that needs to be set? or is it a margin that needs decreased?
    http://www.fusionspiritualemporium.com
    Contrib: Events Calender v1.02 update

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Border around whole page

    Before addressing that, you have a coding error that may mess up other things.

    You open two tables for header layout, but you only close one of them, so the entire page is contained in #headerLogo.
    From View Source:
    HTML Code:
      <!--<div id="headerBackground">-->
      <table>
        <tr>
    <td id="headerLogo">
      <!--bof-branding display-->
      
    <table width="100%" cellpadding="0" cellspacing="0" align="center">
    
    </td> 
    
          <td id="headerBackground">
    
    <td align="center" bgcolor="1d5685"><img src="../../../../images/bg_header.gif" ></td>
     
      <!--eof-branding display-->
      <!--</div>-->
          </td>
        </tr>
      </table>
    
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
    <div id="navExtraWrapper">
    </div>
    
    <p align="center"><img src="../../../../images/tagline.gif" /></p> 
    
        <ul>
        <li><a href="http://www.fusionspiritualemporium.com//">Home</a>&nbsp;::&nbsp;
        <a href="https://secure.hostmonster.com/~fusionsp//index.php?main_page=login&amp;zenid=24aaba0bc7693ef0e55c0c79330ff35d">Log In</a>
    
    <!--bof-header ezpage links-->
    &nbsp;::&nbsp;  <a href="http://www.fusionspiritualemporium.com//index.php?main_page=page&amp;id=5&amp;chapter=1&amp;zenid=24aaba0bc7693ef0e55c0c79330ff35d">Education</a>&nbsp;::&nbsp;
    
      <a href="http://www.fusionspiritualemporium.com//index.php?main_page=page&amp;id=15&amp;zenid=24aaba0bc7693ef0e55c0c79330ff35d">EVENTS</a>&nbsp;::&nbsp;
      <a href="http://www.fusionspiritualemporium.com//index.php?main_page=privacy&amp;zenid=24aaba0bc7693ef0e55c0c79330ff35d">Privacy Notice</a>
    <!--eof-header ezpage links-->
    </li>
    </ul>
    
    <!--eof-navigation display-->
    </div></div>
     
    </div><!--eof-header logo and navigation display-->
    
    <!--bof-optional categories tabs navigation display-->
    <!--eof-optional categories tabs navigation display-->
    
    <table width="100%" border="2" cellspacing="0" cellpadding="0" id="contentMainWrapper">
      <tr>
    You don't need tables at all to make your layout; divs and the stylesheet will do anything you want done.

  3. #3

    Default Re: Border around whole page

    Quote Originally Posted by gjh42 View Post
    Before addressing that, you have a coding error that may mess up other things.

    You open two tables for header layout, but you only close one of them, so the entire page is contained in #headerLogo.
    From View Source:
    HTML Code:
      <!--<div id="headerBackground">-->
      <table>
        <tr>
    <td id="headerLogo">
      <!--bof-branding display-->
      
    <table width="100%" cellpadding="0" cellspacing="0" align="center">
    
    </td> 
    
          <td id="headerBackground">
    
    <td align="center" bgcolor="1d5685"><img src="../../../../images/bg_header.gif" ></td>
     
      <!--eof-branding display-->
      <!--</div>-->
          </td>
        </tr>
      </table>
    
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
    <div id="navExtraWrapper">
    </div>
    
    <p align="center"><img src="../../../../images/tagline.gif" /></p> 
    
        <ul>
        <li><a href="http://www.fusionspiritualemporium.com//">Home</a>&nbsp;::&nbsp;
        <a href="https://secure.hostmonster.com/~fusionsp//index.php?main_page=login&amp;zenid=24aaba0bc7693ef0e55c0c79330ff35d">Log In</a>
    
    <!--bof-header ezpage links-->
    &nbsp;::&nbsp;  <a href="http://www.fusionspiritualemporium.com//index.php?main_page=page&amp;id=5&amp;chapter=1&amp;zenid=24aaba0bc7693ef0e55c0c79330ff35d">Education</a>&nbsp;::&nbsp;
    
      <a href="http://www.fusionspiritualemporium.com//index.php?main_page=page&amp;id=15&amp;zenid=24aaba0bc7693ef0e55c0c79330ff35d">EVENTS</a>&nbsp;::&nbsp;
      <a href="http://www.fusionspiritualemporium.com//index.php?main_page=privacy&amp;zenid=24aaba0bc7693ef0e55c0c79330ff35d">Privacy Notice</a>
    <!--eof-header ezpage links-->
    </li>
    </ul>
    
    <!--eof-navigation display-->
    </div></div>
     
    </div><!--eof-header logo and navigation display-->
    
    <!--bof-optional categories tabs navigation display-->
    <!--eof-optional categories tabs navigation display-->
    
    <table width="100%" border="2" cellspacing="0" cellpadding="0" id="contentMainWrapper">
      <tr>
    You don't need tables at all to make your layout; divs and the stylesheet will do anything you want done.
    yeah i know. i am using silverfish. in the newest version, they added tables. so anywho, i think i fixed that problem?
    http://www.fusionspiritualemporium.com
    Contrib: Events Calender v1.02 update

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Border around whole page

    I'm still seeing #headerLogo enclosing the whole page, after clearing cache and refreshing.

  5. #5

    Default Re: Border around whole page

    Quote Originally Posted by gjh42 View Post
    I'm still seeing #headerLogo enclosing the whole page, after clearing cache and refreshing.
    ok. so this is still new to me. im learning, just not fast enough. where is it open, or which line? I noticed that some of my pages are not displaying the correct size. would this do that?
    http://www.fusionspiritualemporium.com
    Contrib: Events Calender v1.02 update

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Border around whole page

    I can't tell you which line it will be, but the problem is in tpl_header.php. Look for <table> and </table> tags.

  7. #7

    Default Re: Border around whole page

    Quote Originally Posted by gjh42 View Post
    I can't tell you which line it will be, but the problem is in tpl_header.php. Look for <table> and </table> tags.
    ok. it should be down to one table now.?

    now i am having a error show up randomly? i dont know when this happened, but the pages are all acting funny
    http://www.fusionspiritualemporium.com
    Contrib: Events Calender v1.02 update

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Border around whole page

    You seem to have eliminated the #headerWrapper div... there is only an unnamed table sitting above #navMainWrapper, and #mainWrapper ends at the bottom of the header. The </div> from the #headerWrapper div is still there and acting when it shouldn't.

 

 

Similar Threads

  1. v139h Want to add a border around my main page text.
    By mighty midget in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 13 Jan 2012, 07:21 PM
  2. Border around image on main product info page only
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Mar 2011, 06:10 PM
  3. remove border around around images (not image border)
    By Otha in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Aug 2010, 06:03 AM
  4. Border around page
    By ags131 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 28 Aug 2009, 03:55 PM
  5. Border around products on home page?
    By xman888 in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 24 Jan 2008, 01:23 AM

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