Solved

Trouble with Divs - can't get the divs to scroll properly...  Overflow Hidden & Scroll

Posted on 2013-05-11
2
355 Views
Last Modified: 2013-05-15
Hi,

I'm a little out of my deapth, and running out of time...

This site has a scrolling div within an overflow div.  I want the page to be fixed size, wirth the footer at the bottom, but for the content to scroll.  Then I'm using jquery to change the text as images scroll into view.

But I can't get the container div the right height...

http://www.sarahhardy.co.uk/index.php?page=3

Depending in your screen width, you will see only 2, 3 or 4 images in the scroll (there are 4) and you will see that the scroll bar doesn't stop at the bottom of the page.  (on Mozilla - not checked cross browser yet...)

Quick fix?

Thanks

Cris.
0
Comment
Question by:CrisThompsonUK
2 Comments
 
LVL 9

Expert Comment

by:user_n
ID: 39158205
0
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39158208
Amend .vertical-gallery-holder with this extra css

top: 0;
bottom:0;
margin-bottom: 60px;
margin-top: 270px;


Edit the margin to where exactly you want it placed...

(Should come with a parental advisory warning ;o)
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
This is a how to build your own CSS3 slideshow and when I say CSS3 I mean just CSS with no javascript in sight! There a few examples online of how to do this but most just show you an example without any explanation, others make it more complicat…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

809 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