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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T05:23:20+00:00 2026-06-11T05:23:20+00:00

Heeey so I have a problem (of course). I have a basic php site

  • 0

Heeey so I have a problem (of course). I have a basic php site (php part not important) that uses Jquery FancyBox2. I’m just about to demo the alpha version of site to the contractor, but I have one snag. When a FancyBox2 Jquery is executed, in Firefox 13 (and only Firefox, not the most recent versions of IE, Opera, or Chrome) the box pops up fine, but the corresponding entire parent document y-scroll bar pops up, and shifts the whole site off by like left:-10 px, and when you close the FancyBox2 instance it shifts back to normal. No other browser seems to shift the sites content when the blank y-scroll bar comes up with a FancyBox2 instance. I’d like to not have this happen? Here’s some basic code:

CSS: yes, it’s a bit overloaded, ignore the faults and focus on the issue at hand, alpha stage of both backend and design.

body
{
font-family:            'Goudy Bookletter 1911', serif;
overflow-x:             hidden;
text-align:             center;
horizontal-align:       baseline;
color:                  #4D60A4;
}
#site_container
{
-moz-user-select:       -moz-none;          /* disable div selection */
-khtml-user-select:     none;
-webkit-user-select:    none;
-o-user-select:         none:
user-select:            none;
zoom:                   1;                  /* for ie6 */
background-image:       url('http://192.168.254.134:8080/images/main_back6.jpg');
background-repeat:      no-repeat;
background-size:        cover;
width:                  980px;
min-height:             780px;
text-align:             left;
height:                 100%;
left:                   50%;
padding:                0px;
border:                 0px solid #0000FF;
overflow:               hidden;
margin:                 0px auto;
margin-top:             -50px;
}

php: example of how FancyBox2 is called in this site.

echo "<a class='fancybox' href='" . $row['image1'] . "'>";
echo "<img src='" . $row['image1'] . "' width=200 height=200 /></a>";

js: how i call FancyBox2

$(document).ready(function(){
    ...
    $(".fancybox").fancybox();
    ...
});
  • 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-11T05:23:21+00:00Added an answer on June 11, 2026 at 5:23 am

    OOOkay, got it. I’m more of a backend guy, not a design guy. Just had to add this to the css:

    body
    {
    ...
    overflow-x: hidden;
    overflow: scroll;
    ...
    }
    

    and that fixed it. Wonder why only firefox needed that hierarchical fix? Is overflow: scroll css3? anyways, nevermind.

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

Sidebar

Related Questions

Hi everyone I have a problem with MVC3 routing and areas: My route matches
Heey, In my iPad application I have a UIPopoverController with a UIViewController containing some
I create select element dynamically using jquery, and I want to make action when
heeey!) I was trying to make a gallery but i get an error on
Heey, I really don't get what the problem is. I execute the following piece
Heey I want to make a netservice where more ipads can connect to at
When creating a titlebar with a button, which is common in all activities e.g.
When creating a titlebar with a button, which is common in all activities e.g.
I believe you can add objects use list.add(); However, is there an alternative way
<!DOCTYPE html> <html> <head> <title>Title</title> <meta http-equiv=content-type content=text/html; charset=utf-8> <style type=text/css> body { background:

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.