HTML Layout Scrolling Divs -


this page referring to: http://searchleaf.com/v2/search_2.php

i have floating div in middle of page 'content' div. inside of have 3 divs, 'contentboxes', side side, each taking 33% of space.

when search first contentbox, returns results , second content box becomes visible. there, when click on word, third contentbox becomes visible more information.

my problem when page shrunk, or there lot of information 1 word, second , third boxes bleed on main content box. have looked @ css's overflow property can't seem how it. should never bleed on main content box.

what happens overflow set auto on main content box: scroll bar shows , scrolls entire content area.

what want happen: scrollbar given each conentbox needed.

here simple html layout example of problem, might easier:

http://searchleaf.com/v2/layout.html

when overflow property changed in .content auto. whole thing scrolls. how can scroll third box?

thanks, bryce

your problem might width of internal divs 33.3%, , have thick border , padding, added width (so resulting width 33.3% of container + pixels in borders + 15px padding (on both sides).

you can try adding internal div divs , puting border , padding in internal divs, leaving width:33.3% in parent divs, if makes sense.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -