Solved

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

Posted on 2013-05-11
2
326 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

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

Suggested Solutions

Title # Comments Views Activity
Positioning of an element a percentage from the top. 14 30
FIx alignment of two texts 1 26
Host asp.net pages 5 25
Custom Form Design to Match this example 1 14
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…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
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…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

914 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

14 Experts available now in Live!

Get 1:1 Help Now