W3C home > Mailing lists > Public > www-style@w3.org > October 1996

Re: floating images flush bottom

From: <lee@sq.com>
Date: Wed, 30 Oct 96 22:45:35 EST
Message-Id: <9610310345.AA03882@sqrex.sq.com>
To: davidp@earthlink.net, www-style@w3.org
David Perrell <davidp@earthlink.net> 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
to specify

    break before
	the elment starts a new output line.
    
    break after
	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.

Lee

-- 
Liam Quin, lee@sq.com         | 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
Received on Wednesday, 30 October 1996 22:45:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:45 GMT