Wide website design doubled in size

I'm struggling to understand why the width of our website is so large. Take a look at it here:

https://85.25.242.165/lunatic/default/index

You'll notice that there's a horizontal scroll bar at the bottom and the overall width seems to be double the actual size of the website. I've checked through Firebug to see if there's any element causing this but haven't found anything wider than the original width of the site.

We're currently using the Web2py framework for our website development.

Answer №1

There lies the issue

#navbar ul ul ul {
    top: 0;
    left: auto;
    right: -99.5%;
}

included

body {
    overflow-x: hidden;
}

then everything will work smoothly.

Answer №2

Encountered a comparable issue specifically in Firefox on Mac, when inserting the following code:

body {
  transform: translateZ(0); // Enabling hardware acceleration for smoother animations.
}

Although intended to enhance animations, as stated in the comment, it ultimately resulted in disrupting the functionality of my website on Firefox version 24 for Mac users.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Blank voids observed while scrolling within UIWebViews

Can anyone help me with preventing the page from scrolling too far? I'm trying to create a feature where a grey empty space appears when the user scrolls beyond a certain point. ...

Why is my background image also rotating when I rotate the text using 'transform: rotate'?

I have been attempting to rotate text on a background-image, but I am facing an issue where my background image also moves with the text rotation. Can someone explain why this is happening? Below is the code snippet: HTML code snippet: <ul> <li ...

Accessing the Bootstrap tab form from an external source

I currently have Bootstrap tabs on a page and they are functioning correctly. However, I am looking to open these tabs from an external page. Is this feasible? <div role="tabpanel"> <ul class="nav nav-tabs" role="tablist"> ...

disregard the background styling applied to the parent element with the class of `.wrapper`

I am completely new to all of this, so please bear with me. Here's my current situation: So, I've set a background image for the entire body of my website. I have a div called .wrapper that I use on all of my pages. Its main purpose is to keep m ...

What is the best way to make one element match the height of another element?

I am facing an issue with the height of my two columns as I have another column separating them. The challenge is to make the left and right columns extend in height based on the content added to the center column. One important point to consider is that ...

The positioning of the text appears to be in the center, but it is actually

Currently, my text "lorum ipsum" is centered in CSS, but I want to align it to the left and add padding on the right later. Can someone explain what I've created here? #ubba { font-family: "Open Sans", sans-serif; font-size: 20px; ...

Utilize jQuery to apply inline styles to dynamically created div elements

I am attempting to apply inline styles to a div using jQuery. The current state of the div, as seen in Firebug, is shown below: https://i.sstatic.net/rqhIc.jpg My goal is to retain the existing CSS while adding margin-left:0 and margin-right:0 to the cur ...

When the form is submitted, any blank inputs and their corresponding hidden fields will be disabled

I created a form that has multiple input fields, and users have the option to enter values or leave them blank. Each input field is accompanied by a hidden input field which contains a specific id unique to the corresponding visible input field. To disable ...

Ways to adjust image placement and size post-rotation with CSS/JS to ensure it stays within the containing div and avoids being cut off

Check out this jsfiddle I've been experimenting with. The jsfiddle is designed to rotate an image by 90 degrees in either clockwise or anti-clockwise direction upon button click. However, the rotated image currently appears outside of its parent div. ...

What is the best way to show a div after successfully sending a post value using AJAX?

How do I show this specific div after a successful AJAX post? This is what I want to display: <div class="love" id="love_0" style="border-radius: 3px; padding: 8px; border: 1px solid #ccc; right: 13px; background: #fff; top: 13px;"> <a class ...

What is the best way to display all of these JSON objects on a webpage given the current AJAX setup?

I need help figuring out how to display all the objects and their contents from a JSON file on a webpage when a button is clicked. I don't want to use console.log, I actually want it to show on the webpage but I'm unsure of how to do that. Please ...

What is the maximum size allowed for a Text field in MySQL?

I am currently working on a project that involves users posting text using TinyText. I found out that TinyText only allows 255 characters to be entered after visiting . However, if a user enters an ampersand (&), it needs to be converted to &amp and so ...

What are some strategies for keeping the focus state on the parent item in a dropdown menu?

When I interact with the dropdown menu in my navigation bar, the color changes for the child items. How can I make sure that the parent item maintains the same colored background even after clicking elsewhere on the page? To better understand the issue, i ...

color-transition effect (CSS-only)

I'm attempting to replicate the fading effect shown here in the lower right corner where the artist name and track title gradually fade out towards the right. Initially, I tried creating an overlay image, but it resulted in a jagged edge on the right ...

Attempting to utilize JavaScript in order to reset a text input field

I'm having trouble clearing a text field using this function. The alert is working but the field remains unchanged. What could be the issue? This function is designed to work on any text field. <!DOCTYPE html> <html> <head> ...

Is it feasible to capture a screenshot of a URL by using html2canvas?

Is it possible to take a screenshot of a specific URL using html2canvas? For example, if I have the following URLs: mydomain.com/home mydomain.com/home?id=2 mydomain.com/home/2 How can I capture and display the screenshot image on another page? window ...

Utilize React's Bootstrap NavBar Container and automatically adjust its width

I am struggling with implementing a NavBar from react bootstrap. There seems to be a <div class="container"> that is causing the width to be fixed. How can I adjust this width to be set as auto? https://i.sstatic.net/g1uSG.png I have attempted the ...

Creating horizontal tabs on a JSP page

Good day! I haven't had much experience with HTML and layout, but now I am delving into JSP. I would like to create a simple page with four horizontal tabs. Each tab click should display a completely different page. My question is: What is the best a ...

Enhance your textbox with more detailed descriptions than just displaying NaN

I am working on a form that includes select boxes. If a user selects an option from "Convert From" and another option from "Convert To" but does not enter a number in the input field, instead of displaying NaN in the result text box, I would like to show ...

Issue with AngularJS directive: setting ng-readonly variable to true doesn't function as expected

I recently developed a custom directive for input fields. To use it in HTML, you just need to include the following code snippet: <my-input class="input-text" type="number" ng-model="modelVariable" ng-readonly="false" /> With ...