Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    help question Minimal Space Between Bottom Side Box and the Footer?

    Is there a way to make sure that there will always some minimal space between the bottom-most side box and the footer?

    Case in question: In certain circumstances, the bottom bar of the sidebox frame (aka .leftBoxContainer: border-bottom in style sheet) touches the footer creating something that I don't perceive as very aesthetic. See example here:



    My question: Is there a way to guarantee minimal spacing (in the background color) between the bottom-most side box and the footer?

    If so, how do I accomplish that?

    Thanks,
    Daniel

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

    Default Re: Minimal Space Between Bottom Side Box and the Footer?

    Try adding some margin to:-

    #navSuppWrapper

    (This is probably nested in your stylesheet with others):-

    #navSuppWrapper, #navCatTabsWrapper
    {

    So you may have to add:-

    #navSuppWrapper
    {
    margin-top: 0.5em;
    }


    ... and you add it UNDER the nested reference. (IE: It must be read by the browser AFTER other references to it - particularly if margins are specified.)

  3. #3
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Idea or Suggestion Re: Minimal Space Between Bottom Side Box and the Footer?

    Thank you very much - it works!

    I just added your suggested line such that it resulted in the following:
    Code:
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
            margin: 0em;
            margin-top: 0.5em;
            background-color: #abbbd3;
            background-image: url(../images/tile_back.gif);
            padding: 0.5em 0.2em;
            font-weight: bold;
            color: #ccffff;
            height: 1%;
            }
    I don't know what you meant by nesting (I don't see #navSuppWrapper nested in this file, stylesheet.css), but the above change provides an acceptable result for me (although it adds the same spacing at the top bar (header), too.

    Daniel

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

    Default Re: Minimal Space Between Bottom Side Box and the Footer?

    Quote Originally Posted by zcnb View Post
    ... (although it adds the same spacing at the top bar (header), too.
    Thats what I meant... because the following styles:-

    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper

    ... are all SHARING the declarations:-

    margin: 0em;
    margin-top: 0.5em;
    background-color: #abbbd3;
    background-image: url(../images/tile_back.gif);
    padding: 0.5em 0.2em;
    font-weight: bold;
    color: #ccffff;
    height: 1%;
    }


    If you want the declaration

    margin-top: 0.5em;


    to apply ONLY to #navSuppWrapper

    Then you must do what I suggest in my earlier posting.

  5. #5
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Idea or Suggestion Re: Minimal Space Between Bottom Side Box and the Footer?

    I just did what you suggested and it works now even better! Thank you!

    To clarify, I restored the
    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    to its original state, and just added the following below it:
    Code:
    #navSuppWrapper
    {
      margin-top: 0.5em;
    }
    It adds the desired spacing only the Footer, not the Header.

  6. #6
    Join Date
    Aug 2007
    Posts
    91
    Plugin Contributions
    0

    Default Re: Minimal Space Between Bottom Side Box and the Footer?

    Hi!

    I did exactly as suggested in this post to resolve my footer spacing issue, but it did not work for me. Can you take a look at my CSS and tell me what I did wrong?

    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    margin: 0em;
    background-color: #CC0099;
    background-image: url(../images/tile_back.gif);
    padding: 0.2em 0.1em;
    font-weight: bold;
    color: #ffffff;
    height: 1%;
    }

    #navCatTabsWrapper {
    background-color: #ffffff;
    color: #9a9a9a;
    background-image:none;
    }

    #navSuppWrapper {
    margin-top: 1.5em;
    }

    #navMain ul, #navCatTabs ul {
    margin: 0;
    padding: 0.5em 0em;
    list-style-type: none;
    text-align: center;
    line-height: 1.5em;
    }

    #navMain ul li, #navSupp ul li, #navCatTabs ul li {
    display: inline;
    }

    #navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {
    text-decoration: none;
    padding: 0em 0.5em;
    margin: 0;
    color: #ffffff;
    white-space: nowrap;
    }

    #navCatTabs ul li a {
    color: #9a9a9a;
    }

    #navEZPagesTOCWrapper {
    font-weight: bold;
    float: right;
    height: 1%;
    border: 1px solid #9a9a9a;
    }

    #navEZPagesTOC ul {
    margin: 0;
    padding: 0.5em 0em;
    list-style-type: none;
    line-height: 1.5em;
    }

    #navEZPagesTOC ul li {
    white-space: nowrap;
    }

    #navEZPagesTOC ul li a {
    padding: 0em 0.5em;
    margin: 0;
    }

    #navCategoryIcon, .buttonRow, #indexProductListCatDescription {
    margin: 0.5em;
    }

    #navMainSearch {
    float: right;
    }

    #navBreadCrumb {
    padding: 0.5em 0.5em;
    background-color: #ffffff;
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    }

    #navEZPagesTop {
    background-color: #abbbd3;
    background-image: url(../images/tile_back.gif);
    font-size: 0.95em;
    font-weight: bold;
    margin: 0em;
    padding: 0.5em;
    }

    #navColumnOne, #navColumnTwo {
    background-color: transparent;
    }

    Thanks!

  7. #7
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: Minimal Space Between Bottom Side Box and the Footer?

    cinbou, I looked at your CSS and it seems fine. I couldn't find any difference between what works for me and your version. The only difference that I could notice was the #navSuppWrapper coming immediately after #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper, without #navCatTabsWrapper in between.

    Could that effect the display?

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Minimal Space Between Bottom Side Box and the Footer?

    You have navSuppWrapper twice. You need to remove the navSuppWrapper from:

    #navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
    margin: 0em;
    background-color: #CC0099;
    background-image: url(../images/tile_back.gif);
    padding: 0.2em 0.1em;
    font-weight: bold;
    color: #ffffff;
    height: 1%;

  9. #9
    Join Date
    Jun 2008
    Posts
    328
    Plugin Contributions
    0

    Default Re: Minimal Space Between Bottom Side Box and the Footer?

    Quote Originally Posted by stevesh View Post
    You have navSuppWrapper twice.
    I also have navSuppWrapper twice and it works fine for me. My understanding is that this is some form of "inheritance" (as in OO). Am I mistaken?

  10. #10
    Join Date
    Aug 2007
    Posts
    91
    Plugin Contributions
    0

    Default Re: Minimal Space Between Bottom Side Box and the Footer?

    Aha! Got it to work. I copied the CSS in the wrong spot.

    Thanks for your help!

 

 

Similar Threads

  1. How to change names in a side box link and in the bottom section
    By angiexx1 in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 6 Nov 2015, 10:13 AM
  2. White space between Header Logo and Top of Side Box
    By xman888 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Jan 2008, 08:43 AM
  3. Adding a Space Between footer and Side box
    By Darkwander in forum General Questions
    Replies: 3
    Last Post: 13 Sep 2006, 08:48 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