On 20-Feb-00, Matthew Brealey wrote: [ horizontal rulers that respect floats ] > It isn't necessary. Floating the element will do this (effectively make > the margin such as to be next to the float) anyway. This has the effect of But how should I supply this float with the proper width? Unless given by the user (in pixels) then the width is normally a percentage of the available horizontal space, though using the containing box to calculate this (which is the rule for a percentage width) won't respect the other floats. > disrupting the flow, but by putting clear on the next element, the element > is effectively in the normal flow - the result is precisely the same as > setting the margin to that of the float. huh? By setting 'clear' for the next element I will flush all floats, and this will not give the desired effect, or did I miss something? Regards Allan -- URL: http://www.diku.dk/students/duff/Received on Tuesday, 22 February 2000 11:44:41 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:04 GMT