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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:19:32+00:00 2026-05-25T16:19:32+00:00

this is page i’m currently working on: http://devel.spoorle.com/poc/ At the bottom there is a

  • 0

this is page i’m currently working on: http://devel.spoorle.com/poc/

At the bottom there is a div called footer, which contains 3 other divs: logo_lower, annoucements_online and menu_lower. Two of them have fixed width, logo_lower 406px and menu_lower 329px while annoucements_online gets it width from jquery script:

var annoucementsWidth = $(window).width() - $("#menuLower").width() -    $("#logoLower").width();
$("#annoucementsOnline").css("width",annoucementsWidth + "px");

For Opera, Firefox and even IE 8 with works perfectly fine, but I have problem with Safari and Chrome. The menu_lower div is not showed… any idea what it might be? I saw somewhere that jquery calculates wrong $(widow).width() for those browsers. I tried to put my code inside $(window).load() but with no success.
Here are the divs:

div.logo_lower {
width: 406px;
height: 45px;
display: inline-block;
float: left;
overflow: hidden;
}

div.annoucements_online {
background: #362f2d;
height: 45px;
display: inline-block;
overflow: hidden;
}

div.menu_lower {
background: #362f2d;
width: 329px;
height: 45px;
display: inline-block;
float: right;
overflow: hidden;
}
div.footer {
width: 100%;
height: 45px;
position: fixed;
bottom: 0;
left: 0;
z-index: 100;
background: rgba(0, 0, 0, 0);
}
  • 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-25T16:19:32+00:00Added an answer on May 25, 2026 at 4:19 pm

    Ok I fixed it othere way, simply I make annoucements div smaller by 5px:

    var annoucementsWidth = $(window).width() - $("#menuLower").width() -    $("#logoLower").width() - 5;
    $("#annoucementsOnline").css("width",annoucementsWidth + "px");
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This page is live at http://settlementprep.com/services/ $(#services_nav li a.move ).hover(function(){ $(this).stop().animate({'padding-bottom':20px},{queue:false,duration:200}); }, function() {
Using this page, http://developer.android.com/sdk/compatibility-library.html , I have installed the Android Support Package, added a
This page describes all steps to edit RC: http://msdn.microsoft.com/en-us/library/dd456813.aspx Those are easy steps, pretty
This page http://winteradagency.com/Arvin/incentives/lenders.htm looks good in all browsers except IE6. The thing that is
This page, http://msdn.microsoft.com/en-us/library/vstudio/hh191443.aspx , in the thread section, says that a async method does
This page : http://www.csgmember.com/credit-success/ works fine on FF and Chrome. It shows all the
This page => http://api.jquery.com/offset does not adequately explain the necessary css involved. Neither do
This page: http://funds.ft.com/CityofLondon/investmentmanagement/HCEWUR contains a number of links under the section Annual Reports &
This page -- http://webdesign.about.com/od/localization/l/blhtmlcodes-punc.htm -- shows a list of HTML characters that can be
On this Page http://www.eamobile.com/Web/mobile-games In IE6 while we click on the Tab Top iPhone

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.