Solved

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

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
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…

757 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

23 Experts available now in Live!

Get 1:1 Help Now