Reputation: 8497
I've got the following peace of code - http://jsfiddle.net/QkYvs/2/
<div id="parent">
<div id="childOne">
<div id="childTwo"></div>
</div>
</div>
#childTwo
is wrapping its text to the #parent
width. How can I make #childTwo's width to be its content's width?
Upvotes: 9
Views: 7354