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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:50:13+00:00 2026-06-14T03:50:13+00:00

Please, look at this sample template: http://jsfiddle.net/D8cye/2/ As you can see, the navbar expands

  • 0

Please, look at this sample template: http://jsfiddle.net/D8cye/2/

As you can see, the navbar expands to the bottom of the sidebar. Why? How can I avoid this?

I know I can workaround this by setting .navbar-inner{height:40px;}. But I feel that I’m doing something wrong of perhaps I have misunderstood something with the fluid grid.

  • 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-14T03:50:15+00:00Added an answer on June 14, 2026 at 3:50 am

    Forked it here http://jsfiddle.net/Astraldiva/r6tHv/.

    I think that one of the important things to consider while using twitter bootstraps fluid layout is not to have items with fixed width or the layout will brake. Not sure if this helps but I just rearranged the containers and placed the content in span8 + span4 divs to get similar layout like you wanted and this version should work on different screen sizes.

     <div class=row-fluid>
        <div class=span8>
            <div id=text>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>
            <div class=navbar>
                <div class=navbar-inner>
                    <ul class=nav>
                        <li class=active><a href=#>Home</a></li>
                        <li><a href=#>Link</a></li>
                        <li><a href=#>Link</a></li>
                     </ul>
                 </div>
             </div>
        </div>
        <div class=span4>
            <div class=box></div>
            <div class=box></div>
            <div class=box></div>
        </div>
    </div>
    

    EDIT

    To get the wanted layout Peter made an extension on my idea in this fiddle.

    There is a 2 column layout, a fixed with sidebar and fluid content area (with max and min width). So it’s not completely fluid but solves the problem.

    <div id=container>
        <!-- Sidebar is floated right and has fixed width -->
        <div id=side>
            <div class=box></div>
            <div class=box></div>
            <div class=box></div>
        </div>
        <!-- Content wrapper is in normal flow with margin-right of at least the width of a sidebar-->
        <div id=main>
            <div class=row-fluid>
              <div class=span12>
                <div id=text>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</div>
    
                <div class=navbar>
                    <div class=navbar-inner>
                        <ul class=nav>
                            <li class=active><a href=#>Home</a></li>
                            <li><a href=#>Link</a></li>
                            <li><a href=#>Link</a></li>
                        </ul>
                    </div>
                </div>
              </div>
          </div>
        </div>
    </div>
    

    CSS:

    #container {
    border: 1px solid #f00;
    max-width: 600px;
    min-width: 300px;
    }
    
    #side {
    float: right;
    width: 100px;
    border: 1px solid #0f0;
    }
    
    #main {
    margin-right: 108px;
    border: 1px solid #00f;
    }
    
    #text {
    padding: 8px; margin: 8px; border: 1px solid #888;
    }
    
    .box {
    height: 80px;
    margin-bottom: 8px;
    background: #ddd;
    }
    

    Note: twitter bootstrap css included.

    Hope it helps.

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

Sidebar

Related Questions

please look at this example of drop down checkbox list im working on.. http://jsfiddle.net/Yojik/VJHVK/143/
Please look at this fiddle: http://jsfiddle.net/dyv88/16/ On IE7, if I put width: 100% on
Please look at the image below !! So in this image... You can see
I have a query on this. Please look at the sample code below: UIButton
Please have a look on this application http://itunes.apple.com/app/yowza-mobile-coupons/id312021877?mt=8 I just want to add custom
I have a problem with internet explorer 6 and 7, please look this example
Please look at this image here is 3 tables , and out i want
Please look at this code: @interface myObject:NSObject -(void)function:(id)param; @end @implementation myObject -(void)function:(id)param { NSLog(@BEFORE);
Please look at this picture: Is it possible to find per-column sum for all
Please look at this code: def chop(array, search): lo = 0 high = len(array)

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.