Is there a way to create a container element that automatically adjusts its size based on the content it holds, while still having specific endpoints defined by surrounding elements?
To see an example of what I'm looking for, visit:
I am hoping to set the container element to be 100% width so that it dynamically resizes without needing a fixed size. Any suggestions or solutions?