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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:22:10+00:00 2026-05-22T17:22:10+00:00

I have this working fine: http://jsfiddle.net/uwcEw/ – a traditional border layout on css. What

  • 0

I have this working fine: http://jsfiddle.net/uwcEw/ – a traditional border layout on css.

What I want to do is have another 5-region border layout within the “middle” of the border layout. Re-applying the same pattern from above I get this: http://jsfiddle.net/6bked/4/ (edited link), which does not work, clearly it is not relative to it’s parent container, but i’m not sure how to fix this so i can apply this pattern as needed in a nested context.

Any help? Also if there’s a better way to do this (Compass+Sass/blueprint/js layout) I’m open to suggestions.

UPDATE

I also wanted to make clear I only care about this working in modern browsers (Webkit, FF) mostly concerned with Webkit and I am not worried about users who don’t have javascript enabled

  • 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-22T17:22:10+00:00Added an answer on May 22, 2026 at 5:22 pm

    I’m not exactly the biggest fan of fixed layouts, but if I understand correctly this should be what you’re trying to do: http://jsfiddle.net/8Cq9A/.

    The dimensions are relative to the browser window, even the nested set of div‘s. What you needed to do to fix your layout was adjust your inner dimensions taking that into account. For example if your outer left and right div‘s widths are set to 10% (meaning 10% of the width of the browser window) to split the center div into 2 equal halves, you’d set each of their widths to: (100% – 10% – 10%) / 2 = 40%.

    Personally, I’d look into using floats: http://jsfiddle.net/Sf8Kp/. The issue you will run into here though, is if you’re wanting equal height columns as seen in the link.

    There are MANY articles floating around on how to tackle this though. A few good reads that have been around for a while: alistapart (1, 2), positioniseverything. Search around for faux columns and 3 column [liquid|elastic|equal height] layout.

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

Sidebar

Related Questions

I have this code : http://jsfiddle.net/Qchmqs/BSKrG/ <div class=step><-- this is darned wrong <div id=step2><a>Darn</a></div>
I have the following script: http://jsfiddle.net/oshirowanen/8mQ7x/1/ Which works fine, but as soon as I
Fiddle here: http://jsfiddle.net/csaltyj/mbnWm/ <style type=text/css> #container { border: 2px solid #000; position: absolute; width:
i have this jquery colorpicker from http://www.eyecon.ro/colorpicker/ , everything is working fine but i
I have this classic ASP site which has been working fine until we updated
Hi Javascript gurus, I have this Javascript code which is working fine on Firefox
I have this working definition: IDENTIFIER [a-zA-Z][a-zA-Z0-9]* I don't want to keep repeating the
I have the following code: http://jsfiddle.net/fCWJ5/1/ , and following doubts regarding the viewbox. body{margin:0;}
I have this simple code that is working fine in every browser, but NOT
I have written spring webservice cleint example This is working fine with springws1.5 but

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.