Hi, I have a question about setting the widths of divs with CSS that I have a feeling will be answered simply with a "no".
I have some divs that I want to have conform to the right hand side of their content but I don't want to arbitrarily set their widths to a set measurement or percentage. However if I don't specify a width it defaults to 100% of the page width. Is there any way I can set the width to automatically shrink to that of the content?
Cheers
Phil
I have some divs that I want to have conform to the right hand side of their content but I don't want to arbitrarily set their widths to a set measurement or percentage. However if I don't specify a width it defaults to 100% of the page width. Is there any way I can set the width to automatically shrink to that of the content?
Cheers
Phil
Comment