Re: Displaying a structure in CSS

Matthew Brealey wrote:
> 
> ValerieGSharp wrote:
> >
> > Matthew Brealey wrote:
> > >
> > <snip>
> > >
> > > Indeed, and floats are also outside normal flow. The spec states that a
> > > float does not float when it follows a positioned element; i.e. it
> > > behaves like a normal static element. Positioning relatively an element,
> > > but then not moving it (as you did) has two potentially desirable
> > > effects:
> >
> > Where can I find this in the spec?
> 
> At 9.5:
> 
> 'Since a float is not in the flow, non-positioned block boxes created
> before and after the float box flow vertically as if the float didn't
> exist.'
> 
> It clearly states that it is non-positioned only.
> 


9.5 is only stating how normal flow behaves in the presence of a float.
i.e. block boxes ignore the float, and inline boxes flow round it.

It says nothing about a float not floating when it follows a positioned
element.
And it does not state 'that it is non-positioned only'.

(BTW - have you also noticed the following in 'Errata in
REC-CSS2-19980512':
Section 9.4.3
In the first sentence, add to the end of "Once a box has been laid out
according to the normal flow" the words "or floated,".)


-- 
Regards,
Val Sharp - Edinburgh

Received on Friday, 11 August 2000 07:49:02 UTC