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

  • Home
  • SEARCH
  • 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 6038511
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:13:56+00:00 2026-05-23T06:13:56+00:00

please find the code in here: http://jsfiddle.net/yuliantoadi/XQuuT/ you could see grid_1 and grid_2 width

  • 0

please find the code in here: http://jsfiddle.net/yuliantoadi/XQuuT/

you could see grid_1 and grid_2 width are fixed 50px, but grid_2 width is 80%. the problem is when i decrease the wrapper width, the grid_3 div goes down.

any idea how to make the grid_3 stay in the top when we decrease the wrapper width without use javascript?

please don’t change the grid_1 and grid_3 width.

  • 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-23T06:13:57+00:00Added an answer on May 23, 2026 at 6:13 am

    Solution CSS:

    .grid_1{
        float: left;
        width: 50px;
        background-color: green;
    }
    .grid_3{
        float: right;
        width: 50px;
        background: red;
    }
    .grid_2{
        background: yellow;
    }
    

    Solution HTML:

    <div class="wrapper">
        <div class="grid_1">
            left
        </div>
        <div class="grid_3">
            right
        </div>
        <div class="grid_2">
            the content
        </div>
    </div>
    

    Note that the HTML sets up the left float first, then the right float, THEN the content, which is unfloated and thus renders between the floated elements. Also the content has no width defined, so it will fill the space.

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

Sidebar

Related Questions

My friend gave the following code which is working awesome here http://jsfiddle.net/WVLE2/ I tried
Please find the below code <?xml version=1.0 encoding=utf-8?> <mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=absolute> <mx:Script> <![CDATA[ [Bindable]
Could you please help me find out the time complexity of the Fleury' algorithm
Could someone please point out a site where I can find an algorithm to
Could someone please explain? I couldn't find anything on the internet, everything talks about
Please find my code below. My problem is that I the inner jQuery.get() doesn't
I'm currently working on a website that you'll find here: http://steadfastdesignfirm.com/rgw/ . I used
I get one tutorial over here http://codeigniter.com/forums/viewthread/122597/P0/ everything is find but not the pagination
i am using this code for suspend process.i found it here http://www.codeproject.com/KB/threads/pausep.aspx BOOL SuspendResumeThreadList(DWORD
I've written a simple code. I don't understand, what happens here. Please explain to

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.