On Jul 7, 2007, at 6:47 AM, Gary Benson wrote:Hi all,
>
> ... on the main page (http://www.relaxshiatsu.co.uk/) there is a
> floated image and the box
> extends underneath it. Is there some way I can make the div fill only
> the width available to it and no more? I know I can do it by giving
> it an absolute width, but I wondered if there's a neater way.
Add...
#findOutMore {overflow: hidden; zoom: 1; }
... and the box will auto-adjust to the float as/when necessary.
The method is described here...
<http://www.gunlaug.no/contents/wd_example_01_02.html>
regards
Georg
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/