I have a layout similar to:
I would like for the div to only exp
div
I think using
display: inline-block;
would work, however I'm not sure about the browser compatibility.
Another solution would be to wrap your div in another div (if you want to maintain the block behavior):
HTML:
content
CSS:
.yourdiv { display: inline; }