Hi All,
Two questions:
1. Is it possible to make a floated div grow in width with its contents?
I've been searching on the web for a way to make the width of a float grow with the width of its content, without success. There's loads of information about how to do this with heights, but I can't find anything that works for widths.
Is it possible?
2. How do you centre a floated element?
Thanks in advance,
Andrew
Two questions:
1. Is it possible to make a floated div grow in width with its contents?
I've been searching on the web for a way to make the width of a float grow with the width of its content, without success. There's loads of information about how to do this with heights, but I can't find anything that works for widths.
Is it possible?
2. How do you centre a floated element?
Thanks in advance,
Andrew
Comment