- From: Bartolomé Sintes Marco <BartolomeSintes@ono.com>
- Date: Sun, 29 Sep 2002 19:04:44 +0200
- To: "Lista Amaya" <www-amaya@w3.org>
Received on Sunday, 29 September 2002 13:03:13 UTC
Hi,
A page with a redundant semicolon in the CSS file is not properly displayed in Amaya 6.4 for Windows 98, because sometimes Amaya aplies the last rule of the previous selector.
Example: In this example, "text" is shown in red.
XHTML FILE:
<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>No title</title>
<meta name="generator" content="amaya 6.4, see http://www.w3.org/Amaya/" />
<link href="tmp.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1>Headline</h1>
<p>text</p>
</body>
</html>
CSS FILE:
h1 {text-decoration: underline; color:red; }
p { margin: 25px;; }
Received on Sunday, 29 September 2002 13:03:13 UTC