W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 1999

em size

From: John Russell <VE3LL@RAC.CA>
Date: Fri, 24 Sep 1999 11:06:38 -0400
Message-Id: <199909241456.KAA26609@admin.cgocable.net>
To: www-amaya@w3.org
further testing reveals that amaya sets em size prior to
setting type size for the next bit of text .......
this results in indentation taking on m size from the previous title
or heading and not the anticipated work that it is indenting

as a test  use a margin : 4em   style setting
then a bit of code such as 
<h1>A</h1>
<p>a bit of junk</p>
<h2A</h2>
<p>a bit of junk</p>
<h3>A</h3>
<p>a bit of junk</p>
<h1>A</h1>
<p>a bit of junk</p>
so my margin was probably set from the size of h1 or some default
i think the fix is the sequencing of em determination...
it should come after the size of type is determined for the text
for indenting with em defn
for margins it is more vague as to what to use ....
probably the best is the browser default size or the size of the
normal txt if determined by font specification in style sheet......
oh the unraveling of problems when we try to use html for 
what it was never intended.

john russell  VE3LL@RAC.CA

homepage: http://web.cgocable.net/~jrussel
Received on Friday, 24 September 1999 10:56:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:33 UTC