You wrote: > I've got a question that has been bothering me for a while now. The HTML 4.01 Strict specifications have declared the "align" attribute of the > <table> tag as deprecated. HOW are we supposed to centre a table in the browser window? I've tried everything I can think of, with no real > solution. For instance, the following CSS declaration produces only partial results; the browsers that I would expect to support it, don't: > body { text-align:center } That's not how you center block content in CSS. Instead, try this: table { margin-left: auto; margin-right: auto; } --KynnReceived on Sunday, 21 April 2002 16:49:59 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 1 October 2009 14:48:45 GMT