Re: margin-left/margin-right

On 16 Jul 2002 at 11:16, Lars Bruzelius wrote:
> According to "Current state of CSS implementation" 
> <URL:"http://www.w3.org/Amaya/User/CSSStatus.html"> margins are fully
> supported by Amaya 6.2.
> As far as I can see the following CSS statement does not yield the
> expected result.
>     p {margin-left: 15em; margin-right: 1em}
> With Amaya 6.2 both right and left margins are set to the left value.
> This seems to be a change from previous versions of Amaya.
John Russell also tested on windows 98 version 6.2 (800x600) and
 got even more bizarre results.  First letter margin 20 em
but that was only thing on first line. Second line margin 20 em and 
rest of text...  brought up horizontal scroll rather than wrapping.
test program was:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-
1">
<style type="text/css">
p {margin-left:20em; margin-right:2em}
</style>
<title>x</title>
</head>
<body>
<p>This is just a test of margins. There should be a 20em margin on 
the left and a 2 em margin
on the right.  quirk in amaya.</p>

</body>
</html>
John Russell, VE3LL@RAC.CA
http://home.cogeco.ca/~ve3ll (2 L's as in LLAMA)
check HTML at http://www.htmlhelp.com/tools/validator/
check CSS at http://jigsaw.w3.org/css-validator/
check JavaScript at http://www.crockford.com/javascript/jslint.html

Received on Tuesday, 16 July 2002 10:18:28 UTC