Is there a way to handle dynamic content width without resorting to using min-width? Check out my jsFiddle for an example. Case 1 demonstrates the desired outcome regardless of content width, while Case 2 shows what happens when the content is too short.
#container {
width:200px;
}
#div1 {
display:inline-block;
}
#div2 {
display:inline-block;
}
#div3 {
clear:both;
display:inline-block;
}
You can view the jsfiddle here.