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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T09:10:58+00:00 2026-06-14T09:10:58+00:00

I have a top nav that extends across the page Within that top nav

  • 0
  • I have a top nav that extends across the page
  • Within that top nav I have various elements
    • two that must align left
    • one that must align right
  • The nav is fluid the elements are fixed widths
  • Do not want the elements to wrap when the browser window is minimized
  • Needs to work in IE6 on up due to high Chinese audience.

See example here:
http://jsfiddle.net/4SUwg/

<div id="header">
  <div id="headerContent">
    <div class="search-list"> Search List </div>
    <div class="social-buttons"> Social </div>
    <div class="signin"> Login Drop Down </div>
  </div>
</div>

I would like the div elements within the nav to not wrap. I searched around on stack and could find answers that come close but nothing that completely addressed the issue. My need to have the div element aligned right complicates matters. Must work in all browsers, especially IE’s.

Thanks all for your help in advance!!!

  • 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-14T09:10:59+00:00Added an answer on June 14, 2026 at 9:10 am

    I found a solution that works in all browsers, specifically IE6 on up since that was a requirement for this project. If you have something better that accomplishes the same thing please post! My sincere thanks to everyone who answered/helped.

    <div id="header2">
        <table id="headerContent2">
            <tr>
                <td id="left" valign="top">
                    <div id="leftWrapper">
                    <div class="search-list2">Search List</div>
                    <div class="social-buttons2">Social Buttons</div>
                    </div>
                </td>
                <td id="middle">&nbsp;</td>
                <td id="right" valign="top">
                    <div class="signin2">Login Drop Down</div>
                </td>
            </tr>
        </table>
    </div>
    
    
    <style>
    #header2 {
    background: #404040;
    height: 35px;
    color: white;
    margin: 0 0 12px 0;
    }
    
    #headerContent2 {
    width:100%;
    }
    
    #headerContent2 td {
    height: 32px;
    padding:0;
    margin:0;
    }
    
    .search-list2 { 
    width:150px; 
    float:left;
    background:#039;
    }
    
    .social-buttons2 { 
    width:200px; 
    float:left;
    background:#060;
    }
    
    .signin2 { 
    background:#F00;
    float:right;
    width:400px;
    }
    
    #leftWrapper {
    width:400px;    
    }
    
    #middle {
    width:100%;
    }
    </style>
    

    See Demo of it working here. Copy the code and try it out in all the IE’s since JSfiddle does not work in all IE’s.
    http://jsfiddle.net/GtXKE/

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

Sidebar

Related Questions

I have a page with elements, with relative position. style=position: relative; Some have top/left
I have a top nav links that drive links in the left nav. The
I have the following page I'm working on: http://jeunespoir.org/demo/ . The top nav menu
I'm trying to create a page setup with two navigation areas (top and left)
I have a menu set up this way: <div id='top-navigation'> <ul> <li><a class='top-nav-button-unclicked' href='#'>SUBJECT</a></li>
I have margin-top defined in the css for the page and I've tried margin-top,
How can I have a top-and bottom margin that's at absoulute top and bottom
I have this nav that uses addClass('hover') when the mouse is rolled over an
I have a nav bar with a drop down that is working beautifully. The
My goals: I want to have #nav to be divide into menu-left and menu-right,

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.