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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:11:17+00:00 2026-05-27T18:11:17+00:00

I want to get the following layout aaaaaaaaa | bbbb aaaaaaaaa | bbbb cc

  • 0

I want to get the following layout

 aaaaaaaaa  |  bbbb
 aaaaaaaaa  |  bbbb
  cc | dd   |  bbbb
  cc | dd   |  bbbb
  cc | dd   |  bbbb

the area for the “b”‘s should have a fixed width.
the area for the “a”‘s should take the rest of the available space.
“c”‘s and “d”‘s get 50% of the width of a each.

I can do this with tables without any problem.

I guess one of you guys can guide me on how to do this with DIVs and CSS.

http://matthewjamestaylor.com/blog/ultimate-2-column-right-menu-pixels.htm
has what looks like the basis for a Div based solution.

but I also need to be convinced that this is the right thing to do.
because it does come with a price…
both in code size and in development time….

I want this to work on IE 7 and recent versions of chrome and FF.

(I just read this discussion: http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_21694743.html which I started about 5 years ago, I still dont like CSS Floating divs…)

also – does anybody know how supported is this: http://www.w3.org/TR/css3-multicol/ ?

current code but its not stable in any way, i keep playing with it.. but nothing seems to do what I need:

<div id="_home_container_div" style="background-color:red;">
    <div style="float:right;background-color:violet;width:155px;margin-top:55px;margin-right:55px;marginleft:55px;">
        <div class="slideshow" style="width:100%;padding:0px auth;background-color:green;">
                       some images go here
        </div>
    <div id='caption' style="width:100%;padding:0px auth;font-size:14px; font-weight:bold; ">
        initial caption for first image
    </div>
    </div>
    <div style="float:right;margin-top:55px;background-color:blue;">
        <div class="h1text" style="float:left;">
            <h1 class="_home_main_caption">${Home.main__header}</h1>
            <p class="h1text">${Home.main1__para}</p>
            <p class="h1text">${Home.main2__para}</p>
        </div>
        <div class="h2text" style="float:left;clear:left;">
            <h2>${Home.subA__header}</h2>
            <p>${Home.subA1__para}</p>
            <p>${Home.subA2__para}</p>
        </div>
        <div class="h2text" style="float:left;clear:left;">
            <h2>${Home.subB__header}</h2>
            <p>${Home.subB1__para}</p>
            <p>${Home.subB2__para}</p>
        </div>
    </div>
</div>
  • 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-27T18:11:18+00:00Added an answer on May 27, 2026 at 6:11 pm

    See if this jsfiddle helps you out.

    Code:

    <div id="cont">
        <div id="left">
            aaaaaaa aaaaaaa aaaaaaa aaaaaaa aaaaaaa
            <div id="subLeft">
                cc cc cc cc cc cc cc
            </div>
            <div id="subRight">
                dd dd dd dd dd dd dd
            </div>
        </div>
        <div id="right">
            bbbb bbbb bbbb bbbb bbbb bbbb bbbb bbbb bbbb bbbb
        </div>
    </div>
    

    css:

    #cont
    {
        width: 300px;
        background: yellow;
        overflow: auto;
    }
    #left
    {
        float: left;
        width: 64%;
        background: lightblue;
    }
    #right
    {
        width: 36%;
        background: red;
        float: right;
    }
    
    #subLeft
    {
        width: 50%;
        float: left;
        background: cyan;
    }
    #subRight
    {
        width: 50%;
        float: right;
        background: green;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following two queries which I want to get in one query.
I have the following code for my dialog box, I want to get some
I have the following basic layout: <div id=sidebar style=float: left; width: 250px; display block;></div>
I have the following setup to get a layout with header and footer. Since
I want to get 'second' in the following sample web address. http://www.mywebsite.com/first/sedond/third.html first can
I want to get the Category based total of the following <?xml version=1.0 encoding=utf-8
I want to get current alpha of textview i am using the following code
I want to be able to do the following: get '/:slug' do haml :page
Whenever I want to get data from a plist file I use the following
I want to get highest co-ordinate ( x, y ) Following is the code

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.