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 6839293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:42:06+00:00 2026-05-26T23:42:06+00:00

consider the following: http://jsfiddle.net/PxabT/10/ There are 3 divs hd, bd, ft. hd is fixed

  • 0

consider the following:

http://jsfiddle.net/PxabT/10/

There are 3 divs hd, bd, ft. hd is fixed to the top. ft is fixed to the bottom.

I want the lime colored border to go totally around the white central area without increasing the height of the ft or hd divs.

How do I achieve that?

Many thanks!

edit: see http://jsfiddle.net/PxabT/15/ which is a step forward by changing the borders to padding.

  • 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-05-26T23:42:06+00:00Added an answer on May 26, 2026 at 11:42 pm

    I actually like this solution better. Add fixed left and right bars. Then use padding to keep content area from flowing into them. It is also very similar to your current code.

    http://jsfiddle.net/PxabT/46/

    body{
       margin: 0;
       padding: 0;
    }
    #left { position: fixed; height: 100%; width: 10px; left: 0; background-color: lime; }
    #right { position: fixed; height: 100%; width: 10px; right: 0; background-color: lime; }
    #bd{
        padding-top: 40px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

consider the following: http://jsfiddle.net/MgZ7n/10/ I want the entire hd to be highlighted in blue.
Please consider the following: http://jsfiddle.net/CASM6/9/ I have two rows of tabs. there are two
Consider the following Fiddle: http://jsfiddle.net/wNrqu/ For the last 4 hours I have been trying
please see: http://jsfiddle.net/4Z4fQ/19/ consider the following html: <a id=myElement href=http://www.google.com/> <img id=image src=http://www.google.com/intl/en_com/images/srpr/logo3w.png alt=google/>
Consider the following example (also available here: http://jsfiddle.net/hq8Fg/1/ ). It works fine in IE9,
Consider the following code ( http://jsfiddle.net/FW36F/1/ ): <input type=checkbox onchange=alert(this.checked)> <button onclick=document.getElementsByTagName('input')[0].checked=!document.getElementsByTagName('input')[0].checked;>toggle</button> If you
Please, consider the following jsFiddle - http://jsfiddle.net/mark69_fnd/5fANH/ Here is how it looks on IE9,
Consider the following URL: http://www.iamsomeweiredurl.fromsomewhere/andIwant#thisfragment Is there a chance to get thisfragment by @RequestMapping
Concider the following fiddle: http://jsfiddle.net/dts2T/ This has been bugging me for quite some time
Consider the following scenario: http://www.yourdomain.com/Default.aspx?p=2 Now we ofcourse want to check if the querystring

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.