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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:06:19+00:00 2026-06-01T15:06:19+00:00

I have the following problem. I am making this website you can see in

  • 0

I have the following problem. I am making this website you can see in the screenshot. It’s basically a two rows – three columns Layout with div and css and everything is working fine so far.
But the strippe above the “English”-div is supposed to always go to the right end of the brwoser, but i have no idea how I can achieve this. I’ve tried javascript but I can’t get it to work.
Thanks in advance for your help.

The html code:

http://dl.dropbox.com/u/15902831/index_de.txt

Image of the website

http://dl.dropbox.com/u/15902831/capture.png

  • 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-01T15:06:20+00:00Added an answer on June 1, 2026 at 3:06 pm

    jQuery solution. Fully Tested.

    The following solution uses jQuery to determine what the size of the strip should be, and then set it.
    What’s more it does it even when the user resizes their screen.

    Just add the following to your <head>

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript">
      function resizeRedBar()
      {
              //determine what size the strip should be
              var offset = $("#right_col").offset();
              var windowWidth = $(window).width();
              //now set the width of the red strip
              $("#right_col_box_stripe_split").width(windowWidth - offset.left);
      }
      
      $(document).ready(function()
      {
          //set size of red bar when page loads
          resizeRedBar();
          
          $(window).resize(function()
          {
              //set size of red bar when window is resized
              resizeRedBar();
          });
      });
    </script>
    

    Working Version

    http://www.digitalbiscuits.co.uk/testbed/autosize_test

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

Sidebar

Related Questions

I have the following problem. When making this call inside a view controller :
I have following problem: I have to make a ASP.NET Webapplication with a two-row
I have the following problem: String explosion_type = this.prefs.getString(explosion_type, ring_explosion); BitmapFactory.Options optionsExplosion = new
I have the following problem: my table is big enought (millions of data rows),
I got the following problem. I have a design similar to this jsfiddle: http://jsfiddle.net/k3EUx/
many people seem to have problem in making this work, so i am not
I'm having a small problem making a query in MySQL. I have the following
This is making me a bit crazy. I have the following Application: Activity A
I have following problem: I have built a tabbar application with 4 tabs. I
I have following problem, Code: String a=Yeahh, I have no a idea what's happening

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.