Solved

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

Posted on 2013-05-11
2
362 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 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Title # Comments Views Activity
Why "Mobile First"? 5 39
Navigation Menu Does Not Show on iPad 4 33
Text color in a select 11 23
[Bootstrap] Navigation Bar Collapse 27 41
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
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…

733 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