Jump to content
Sign in to follow this  
ben03

Backgrounds on Overflows

Recommended Posts

I was wondering if there was a CSS property and value that could be given to containing divs to keep them expanding with the content that I didn't know about.

The problem I am experiencing is when a div has overflow-x set to visible, the overflowing content is visible, but the background cuts off at the point where you start scrolling.

display:inline-block; seemed to solve it when given to the container, but then caused errors for the table it contained which stayed collapsed at its minimum width as opposed to filling the space when div was expanded (the div in question is a re-sizeable draggable pane).

Is there a way of solving this I am unaware of? Help much appreciated.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×