37 posts
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 6
  • Collector Level 2
+1 more
dabaman
says

Hi everybody,

If some wrapping element has ‘overflow: hidden’ applied, is there any way for a child element inside it to somehow overflow that wrapper? Normally, when ‘overflow: hidden’ is applied, everything that extends it’s borders gets clipped, but I think that must be some way to workaround this.

I’m having a page with a lot of drop down boxes which needs to extend over it’s wrapping element, but I also need to keep the overflow:hidden applied. One of the drop-downs I’m using is the jQuery Tools dateinput which overflow that element without any problem, but everything else gets clipped. Anybody have an idea?

2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

No. :)

1383 posts
  • 5 Years of Membership
  • Affiliate Level 2
  • Collector Level 2
  • Exclusive Author
+1 more
wpCanyonThemes
says

Nope.

But what are you using the overflow:hidden; for?

If it’s to clear floats, don’t.

.col-clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.col-clear{ .zoom:1; }

Use the col-clear class on the parent with floated elements.

37 posts
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 6
  • Collector Level 2
+1 more
dabaman
says

Thanks guys. I’m not trying to clear floats with overflow: hidden. The problem is that I have a three column layout inside another wrapping element. Two columns (sidebars) have a background applied so it creates a visual separation between them. I want to make them of equal height (because as you all probably know, columns do not stretch it’s hight automatically to fill entire space), and because of that I was using the method with large padding and margin values:

.left_sidebar, .right_sidebar  { 
margin-bottom: -5000px;
padding-bottom: 5000px; }

.wrapper { overflow:hidden; }

And hence the overflow:hidden – necessary to clip anything extensive. I know that there is an alternative method to this called faux columns but I can’t use it because I’m having a liquid layout.

by
by
by
by
by
by