W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2003

Bug report - centering tables

From: Jose Carlos Santos <jcsantos@fc.up.pt>
Date: Fri, 18 Apr 2003 08:25:43 +0100
Message-ID: <D52F84A2AE107848949A8C7E45F02D6923762B@MAIL.fc.up.pt>
To: <www-amaya@w3.org>

Hi all,

There's a bug at Amaya 8.0 for Windows. Consider the following HTML
file:

------------------------- bug.html --------------------------
<!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>Bug</title>
<link href="bug.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table>
<tr><td>bug</td></tr>
</table>
</body>
</html>
-------------------------------------------------------------

together with the following CSS file:

-------------------------- bug.css --------------------------
table { margin-left: auto; margin-right: auto }
-------------------------------------------------------------

If I open the file bug.html with Amaya 8.0 in a non-maximized
window everything looks right, but if I maximize the window then
the word "bug" appears at the right, not centered. If I reload
the file, then the word "bug" appears centered again.

This happens both under Windows 98 and Windows 2000.

Best regards

Jose Carlos Santos
Received on Friday, 18 April 2003 03:25:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:41 UTC