Re: <img ... height="x%">

> 
> Sorry, if this is a silly question:
> 
> Why is amaya displaying my pages so terrible,
> when I try to scale bitmaps?
> With Netscape and IExplorer it looks quite good.
> Do I violate the specification??
> I did read the spec but could not find a mistake.
> 
> My html is like this:
> 
>     <a href="linux_de.html" target="Inhalt">
>       <p><img SRC="sym-linux2.gif" BORDER="0" height="7%"></p>
>       <p>Linux</p>
>     </a>

In a structured approach it should be interpreted as a percent of 
the enclosing element. In your case the enclosing element is <center> 
and not <body>. I suspect other browsers to ignore the structure, and 
to consider the window as the enclosing element.
If your image was within a table do you think it was right to interpret
the height as a percent of the table row or a percent of the window.

> Example page: http://www.stormlight.de/auswahl_de.html
> 
> Please reply to me directly,
> I am not a member of this list.
> 
> regards,
> M. Beyer
> 
>    _____________________________________________________
>     Dipl.-Inform. Marcus Beyer       [mb@stormlight.de]
>     Abt. Medizinische Informatik - Universitätsklinikum
>     Stefan-Meier-Straße 26             D-79104 Freiburg
>     Tel. +49/761/203-6698          Fax +49/761/203-6711
>    _____________ http://www.Stormlight.de ______________
> 

-- 
     Irene.

Received on Tuesday, 6 February 2001 03:42:12 UTC