html - Div Resive To Fit Text -
this not necessary answer, it's more of problem i've encountered. let's have piece of text , want div element contains resize width property proportionally amount of text. there elegant way so? i've read min-width, doesn't work in case.
text typically flows fill it's container. don't think css going best way accomplish this. concept dynamic limitations of css. best way can think use javascript adjust width of div based on length of string contained within.
Comments
Post a Comment