All Questions
2 questions
0
votes
3
answers
2k
views
Auto-width a child div with a parent with fixed width and overflow: hidden
My problem is a bit difficult to explain. I would like a div to stretch so all of his floated childs stays on the same line. The problem is that the parent of the container has a fixed width and his ...
0
votes
2
answers
616
views
Stop div width from pushing it out of place
I've got 2 divs side by side. One has a fixed with of 150px (sidebar) and one adjusts to the remaining with of the parent div.
<div style="margin:0 20%">
<div style="float:left;width:...