How can I have a DIV\'s width behave like it does when float:left is set, but without setting a float? width:auto doesn\'t seem to do it (in chrome).>
float:left
width:auto
For those of you who are still coming across this issue, nowadays you can handle this with:
This will expand only as far as it needs to
Here is a new fiddle based on the accepted answer: http://jsfiddle.net/j33qL8pa/1/