wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes disable overflow to inner div element if outer div uses overflow hidden Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "disable overflow to inner div element if outer div uses overflow hidden" Watch "disable overflow to inner div element if outer div uses overflow hidden" New topic
Author

disable overflow to inner div element if outer div uses overflow hidden

diana pretty
Greenhorn

Joined: Oct 19, 2004
Posts: 1
Hi
scenario:
i am using two divs, outer <div> overflow:hidden is used for scrolling. and the inner <div> includes a table to display.

<div style="overflow:hidden">
<div><table>
<tr><td></td></tr>
<tr><td></td></tr>
</table>
</div>
</div>
i dont want inner <div> style should be overflow:hidden. but it is setting the inner <div> style overflow as hidden by default.

Require: how to avoid inner div not to be overflow hidden. Inner <div> should not use the property hidden.
Please advice.

Thanks
diana
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Most likely you need to set the oveflow to visible on the inner Div

Look at this for all the properties with overflow: http://www.quirksmode.org/css/overflow.html
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: disable overflow to inner div element if outer div uses overflow hidden
 
Similar Threads
Scroll of div fail to work when table row inside it is higlighted
how to position div over table
Table nested inside a div
vertical scroller bar
Creating CSS class at runtime