[css-d] Stopping div extending underneath floated image

2007-07-07 Thread Gary Benson
Hi all, On my site the pages have these find out more boxes after the main content with links to direct people around the site. On most pages (eg http://www.relaxshiatsu.co.uk/what-is-shiatsu.html) they extend the full width of the page (which is what I want) but on the main page

Re: [css-d] Stopping div extending underneath floated image

2007-07-07 Thread Josue Martinez
On 7/7/07, Gary Benson [EMAIL PROTECTED] wrote: Hi all, On my site the pages have these find out more boxes after the main content with links to direct people around the site. On most pages (eg http://www.relaxshiatsu.co.uk/what-is-shiatsu.html) they extend the full width of the page

Re: [css-d] Stopping div extending underneath floated image

2007-07-07 Thread ron zisman
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

Re: [css-d] Stopping div extending underneath floated image

2007-07-07 Thread Bradley Wright
On 7 Jul 2007, at 13:46, Gary Benson wrote: Oh, that's perfect, thanks :) But what is the zoom: 1 for? overflow:hidden; causes all browsers (well, the ones that count, and IE) to contain floats. zoom:1; causes hasLayout to trigger in IE, which has a similar effect of containing floats.

Re: [css-d] Stopping div extending underneath floated image

2007-07-07 Thread Bradley Wright
On 7 Jul 2007, at 13:52, Bradley Wright wrote: On 7 Jul 2007, at 13:46, Gary Benson wrote: Oh, that's perfect, thanks :) But what is the zoom: 1 for? overflow:hidden; causes all browsers (well, the ones that count, and IE) Sorry, bad typo: overflow:hidden; does NOT cause IE to contain

Re: [css-d] Stopping div extending underneath floated image

2007-07-07 Thread Philippe Wittenbergh
On Jul 7, 2007, at 10:07 PM, Bradley Wright wrote: Oh, that's perfect, thanks :) But what is the zoom: 1 for? overflow:hidden; causes all browsers (well, the ones that count, and IE) Sorry, bad typo: overflow:hidden; does NOT cause IE to contain floats. :) It does: in IE 7 (but _not_ in

Re: [css-d] Stopping div extending underneath floated image

2007-07-07 Thread Gary Benson
Philippe Wittenbergh wrote: On Jul 7, 2007, at 10:07 PM, Bradley Wright wrote: Oh, that's perfect, thanks :) But what is the zoom: 1 for? overflow:hidden; causes all browsers (well, the ones that count, and IE) Sorry, bad typo: overflow:hidden; does NOT cause IE to contain