centering boxes in amaya

I sent a msg regarding problems with centering a box
in amaya .... but i only included a link .....
this time i have a short demo stripped of all but that necessary
to show the problem ... this will be more useful to the one
that has to sniff thru the code .....

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Centering Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
div {margin:0px; border:0px; padding:0px}
div.c {text-align:center;margin:auto}
table {margin:auto; border:0px; padding:0px}
table.menu {background:#deadff;border:2px solid red}
</style></head><body>
<div class="c">
<table class="menu" summary="*">
<tr>
   <th> one </th>
   <th> two </th></tr>
<tr>
   <td> three </td>
   <td> four </td></tr>
</table>
</div>
</body></html>
-- 
-- 
John Russell, VE3LL@RAC.CA
http://home.cogeco.ca/~ve3ll
http://home.cogeco.ca/~trains
http://home.cogeco.ca/~cipher

Received on Thursday, 22 December 2005 00:03:52 UTC