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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:49:12+00:00 2026-05-16T08:49:12+00:00

Whatever I try, float, or absolute position, at resizing it fails and change position.

  • 0

Whatever I try, float, or absolute position, at resizing it fails and change position.

I tried a normal menu and div elements, but if i resize at my browser it changes position.

What I want when you resize is that it keeps the position nomatter what so you have to scroll to the left to see the floated element/positioned element.

E.g stackoverflow.com or facebook, if you resize and try to move the browser sides, you see that nothing is moving, and the scroll gets longer the smaller the browser gets..

Check here:
http://jsbin.com/ezaco4
then resize it and try to moving your browsers right side around and you will see that it moves.

It may be a nature html, but how can I then get what I want to do, so it keeps the position?

  • 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-16T08:49:13+00:00Added an answer on May 16, 2026 at 8:49 am

    Implement a fixed width container. Your example is in the body so it will resize to the width of the container, in this case the body.

    <body>
        <div style="width: 700px;">
            <ul style="float: right;">
                <li>item 1</li>
            </ul>
        </div>
    </body>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Should be simple, but whatever I try returns null: const string key = system.web;
I'm trying to copy a file, but whatever I try, the copy seems to
I've been using GWT together with Maven , but whatever I try to do,
$('#fCount' + folderID).html(parseInt($('#fCount' + folderID).html()) + E); That works, but whatever I try such
I have the following problem and whatever I try, nothing helps. I hope someone
I'm trying to load web resources from a linked assembly. Whatever I try, I
I have some dynamic text contained in a div that is set to whatever
I am trying to install numpy on my mac machine. Whatever I try, I
Whatever I try to compile in Cygwin I get the following output: checking for
I've tried everything here, but the Amazon Load Balancer API just will not accept

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.