Re: floating images flush bottom
David Perrell <email@example.com> wrote:
> In HTML, an align right or left image will be rendered on the line
> following the <IMG ...> tag if the tag is not at the beginning of the
> line. [...]
> This may make sense in HTML, but floating elements in CSS1 should not
> be treated the same way.
Really, you're asking for break/paragraph properties, such as most
or all full SGML systems have. For each element, it's usual to be able
the elment starts a new output line.
a new line is started immediately after the end of the element.
A run-in heading would have
break-before: yes; break-after: no
I may not be up to date on the latest CSS draft, but if the one I commented
on had that facility, I didn't notice it, and thought I would have done.
Of course, in an SGML application, one might be able to assign any
property -- e.g. "tableness" -- from a style sheet. For example, in
SoftQuad Panorama, you can say that <BODY> is a table, and that
<H1> is a table cell... giving an interesting (and useful) effect.
In CSS you can do this to some extent by drawing boxes round things.
It's hard to know when to stop adding power, though.
If you want to do that sort of thing, use SGML directly & not just HTML.
Liam Quin, firstname.lastname@example.org | lq-text freely available Unix text retrieval
Senior Technical Consultant | FAQs: Metafont fonts, OPEN LOOK UI, OpenWindows
SoftQuad Inc. +1 416 544-9000 | xfonttool (Unix xfontsel in XView)
http://www.softquad.com/ | The barefoot programmer