Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

div not larger than its content

The solution is to set your div to display: inline-block.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #div #larger #content
ADD COMMENT
Topic
Name
9+4 =