I have a layout similar to:
I would like for the div
to only exp
I have solved a similar problem (where I didn't want to use display: inline-block
because the item was centered) by adding a span
tag inside the div
tag, and moving the CSS formatting from the outer div
tag to the new inner span
tag. Just throwing this out there as another alternative idea if display: inline block
isn't a suitable answer for you.