?
Solved

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

Posted on 2013-05-11
2
Medium Priority
?
385 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses
Course of the Month8 days, 12 hours left to enroll

764 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