Another pennyworth on layout issues

J.Larmouth@iti.salford.ac.uk
Message-id: <9401180907.AA03122@dxmint.cern.ch>
From: J.Larmouth@iti.salford.ac.uk
Date: 18 Jan 94 8:55
To: www-talk@www0.cern.ch
Subject: Another pennyworth on layout issues
X-Mailer: University of Salford cc:Mail/SMTP gateway 1.61
Encoding: 51 TEXT
Content-Length: 2277
=========================================================================
E-mail from: Prof J Larmouth              J.Larmouth @ ITI.SALFORD.AC.UK
             Director                       Telephone: +44 61 745 5657
             IT Institute                         Fax: +44 61 745 8169
             University of Salford              Telex: 668680 (Sulib)
             Salford M5 4WT
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

To:     www-talk@info.cern.ch

Subject:      Another pennyworth on layout issues

I fully support trying to remain at the semantic level in mark-up,  but I
believe that horizontal and vertical white space is frequently used to
indicate semantic boundaries (for example,  "have a nice day" is very
different from a skating rink advert saying "have an ice day") not just
for "prettiness".

I recently complained on a different list that

                some text <i>and italic text</i> some more text

was rendered with one space after the italic text by Mosaic,  and with
two by Cello.   (I was asserting that Cello in this case had it wrong).
I was told that I should remove the space after the </i>!

At the very least,  browser writers need to agree on things such as this,
but it would actually be better if the HTML+ spec addressed this area in
at least terms of guidance.

So I reinforce the need to clearly specify when an element causes a
vertical break before and/or after itself.   Also to make clear that
"<P><P><P>" is exactly equivalent to "<P>",  and that a "<P>" at a point
where a vertical break has been forced by an adjacent element has no
effect,  and that elements like <b> and </i> do not in themselves cause
word (horizontal) breaks.

The vertical break issue produces another difference between Cello and
Mosaic in the formatting of:

                Some text <pre>      spaces      </pre> some more text.

In this case I think I regard Cello as correct.

Anyway,  my plea is for recognition that consistency on the insertion of
vertical breaks and/or horizontal breaks (spaces) around elements is
needed,  and that clear guidance should be present in the HTML+
definition,  irrespective of "religious" issues of what is page layout
and what is semantically significant formatting.

John L