Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7713429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:52:23+00:00 2026-06-01T01:52:23+00:00

http://jsfiddle.net/YumHS/ In the page given in the jsfiddle der is a sidebar in the

  • 0

http://jsfiddle.net/YumHS/

In the page given in the jsfiddle der is a sidebar in the cont div.

<section class="cont">
                <div class="sidebar">
                    <ul>
                      <li>sidebar</li>
                    </ul>
                </div>
                <div class="content">
                  <div class="cm_logo"><img src="img/turf_cm_logo.png"></div>
                </div>
</section>

The sidebar has a right border. Der is a 10px margin in the top side of the sidebar. Similarly I want 10 margin in the bottom part also. I have used 100% height so that div.sidebar fills up entire screen. But with this method margin is not available at bottom since i’m using a sticky footer. What can I do for this? Please help.

Check the jsfiddle for the demo, to understand my question

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:52:24+00:00Added an answer on June 1, 2026 at 1:52 am

    See the fiddle for code and demo

    Fiddle: http://jsfiddle.net/YumHS/2

    Demo: http://jsfiddle.net/YumHS/2/embedded/result/

    Updated fiddle: 1280 x 800 Resolution as per your requirement.

    http://jsfiddle.net/YumHS/5/embedded/result/

    To get the desired output i use image of 1px x 2000px. and adjust the position of background image see the css below, you can set the height( see 110%;) of background image as you want.

    .sidebar {
        position: fixed;
        top: 100px;
        width: 227px;
        /*border-right: 1px solid #949698;*/
        height: 100%;
        background: url("http://img152.imageshack.us/img152/8141/fullbar.png") no-repeat right 110%;
    }
    

    In my system it is looking like below image:

    enter image description here

    Updated fiddle http://jsfiddle.net/YumHS/11/embedded/result/ – with 2px space space in sidebar and footer.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

http://jsfiddle.net/fQv97/ HTML <div class=table-cell> My text, should be align middle </div> CSS .table-cell {
http://jsfiddle.net/VTD9P/2/ $(button).click(function(){ $(body).append('<div class=vidminclose>X</div>'); }); $(.vidminclose).click(function(){ $(this).remove(); }); ​ ​why is it when i
http://jsfiddle.net/CsrrD/ Given an object var viewModel = { Opts: ko.observableArray([ { d: 'a', v:
http://jsfiddle.net/GGsEt/3/ Works on firefox HTML <ul> <li class="lib_undefined"> <span class="hidden_toggle"> <a href="/">Test</a> </span> </li>
http://jsfiddle.net/3V6MM/ Please tell me how can I write common style for class=property-title to display
http://jsfiddle.net/9BCrs/5/ I have this set up to load a file into a DIV using
http://jsfiddle.net/defencedog/2Skc7/ I am trying to remove the online class ONLY for administration which has
http://jsfiddle.net/ujTDf/1/ link text Can anybody help please. The div/form doesn't switsch automaticly in other
http://jsfiddle.net/AndyMP/nUhhf/1/ This is a simplified situation where I have a DIV that animates downwards
http://jsfiddle.net/BXNE9/1/ I want to open div through anchor point using related link. when I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.