for some reason
the width of the div is 100% and if i set it to auto, nothing changes. tried display: block; and still nothing.
display: block;
what I have in
width:auto on a DIV expands it to fill it's parent, not to be sized by it's children.
width:auto
ex: http://jsfiddle.net/nTWvr/
To size a DIV by it's content, there are a few methods: How to make div not larger than its contents?