Message-Id: <200102120848.JAA01483@tahiti.inrialpes.fr>
To: Dave J Woolley <david.woolley@bts.co.uk>
cc: "'www-amaya@w3.org'" <www-amaya@w3.org>
Date: Mon, 12 Feb 2001 09:48:32 +0100
From: Irene VATTON <Irene.Vatton@inrialpes.fr>
Subject: Re: <img ... height="x%">
> > From:Irene VATTON [SMTP:Irene.Vatton@inrialpes.fr]
> >
> > <tr><td height="8%">[img]"sym-home.gif"[/img]</td></tr>
> >
> [DJW:]
> This is invalid HTML (height may only be specified in pixels
> in TD elements) and attempts to create a circular reference,
height is defined as a Length
Length: The value (%Length; in the DTD) may be either a %Pixel; or a
percentage of the available
horizontal or vertical space. Thus, the value "50%" means half of the
available space.
> in that the only reasonable interpretation is % of row height,
> which depends on the maximum height of any cell in that row.
I agree with you, the use of percentage for heights generates a lot of
problems.
> Also, if Amaya treats BR as being a paragraph break, and inserts
> that break into the object model seen by CSS, it is broken.
> BR is an inline element and cannot create a new block element.
The pseudo paragraph is generated just to keep in mind the area width in which
BR and images are set inline.
> [DJW:] I suspect % heights on images are only useful when
> a containing element's height is specified using CSS.
> [DJW:]
>
> --
> --------------------------- DISCLAIMER ---------------------------------
> Any views expressed in this message are those of the individual sender,
> except where the sender specifically states them to be the views of BTS.
>
> >
>
--
Irene.
http://lists.w3.org/Archives/Public/www-amaya/2001JanMar/0108.html