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 display: block, the elements will always use as much width as is available. It seems like you want to use display: inline-block
display: block
display: inline-block
http://jsfiddle.net/HpMSU/