Re: [WSG] Overflow hidden and floated divs

2010-07-18 Thread Oliver Boermans
Hi Stevio On 16 July 2010 00:41, Stevio redea...@freeuk.com wrote: My question is why does it do this? I have looked up what overflow hidden is meant to do and from what I read it sounds like the content should just get clipped at the right hand side and not be shown. Why is it causing the box

[WSG] Overflow hidden and floated divs

2010-07-15 Thread Stevio
I have a row of floated list items inside a container with height 1.2em, which is inside a parent div with a background colour. e.g. something like this (not the actual HTML of course ;) - div with background colour ul with height 1.2em li floated/li li floated/li li floated/li /ul

Re: [WSG] Overflow hidden and floated divs

2010-07-15 Thread Luc
Good afternoon Stevio, It was foretold that on 15/07/2010 @ 16:11:50 GMT+0100 (which was 12:11:50 where I live) Stevio would write: snipped a bit S However, if I add overflow:hidden; to the parent div, then the rightmost S list item still jumps down, but now the box expands down

Re: [WSG] Overflow hidden and floated divs

2010-07-15 Thread Jody Tate
I asked a similar question back in February and this link helped explain it: http://www.quirksmode.org/css/clearing.html -jody On Jul 15, 2010, at 8:11 AM, Stevio wrote: I have a row of floated list items inside a container with height 1.2em, which is inside a parent div with a background

RE: [WSG] Overflow hidden and floated divs

2010-07-15 Thread Foskett, Mike
Of Stevio Sent: 15 July 2010 16:12 To: Web Standards Group Subject: [WSG] Overflow hidden and floated divs I have a row of floated list items inside a container with height 1.2em, which is inside a parent div with a background colour. e.g. something like this (not the actual HTML of course