Re: Horizontal rules

On 16-Feb-00, Matthew Brealey wrote:

> [...]
> width: sets the width of the element, the width of the HR therefore
> being border-left + border-right + width

What about the problem I pointed out with floats? E.g.:

<Div>
   <Img Align=Left Width=200 ...>
   <Hr>
</Div>

Here the float should (intuitively) be the width of the containing element
MINUS the width of the floating image, but block level elements don't respect
floats when calculating widths.

Regards Allan

Received on Wednesday, 16 February 2000 17:44:00 UTC