Solved

Why does my whole site scroll even if I have set overflow to be hidden in the css stylesheet?

Posted on 2011-09-02
3
341 Views
Last Modified: 2012-05-12
Please visit this page using Firefox
http://www.absolutproject.com/gruppoovermarine/overmarine
If you have a look at the css stylesheet the body, html and the div #overmarine (which contains all the site's elements) you will see that they are all set to
overflow: hidden !important;

However not only on Firefox but also on iOS devices (ipad, iphone etc) I see the site not behaving properly (the div overmarine is not 100%) and for some reason I also see elements that are outside the screen. Also when I use the arrow buttons when using firefox the whole site shifts left/right

Could someone please point out where I might be going wrong and how I might go about fixing it?

thanks so much in advance
0
Comment
Question by:badwolfff
3 Comments
 
LVL 30

Expert Comment

by:LZ1
ID: 36476359
I don't have any iOS devices, however on FF 6 and Windows 7 and did not see any scroll bars. Checked in IE 9 with and without compatibility.  Still no scroll bars.
0
 

Author Comment

by:badwolfff
ID: 36476954
Not scrollbars.
If you click on the background or any other element in firefox then use the arrows on the keyboard the whole site moves left/right.

On iOS devices the sites container div "overmarine" is not 100% in width and height and elements beyond this div (hidden outside the screen) are visible.
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 36477171
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now