You are here: Re: How to center a table correctly « HTML « IT news, forums, messages
Re: How to center a table correctly

Posted by David Dorward on 12/11/05 12:26

Tassilo S. Schweiger wrote:

> Now, a problem appears: How can I center a table correctly? Because the
> align="center" is not an attribute of <table> here.

http://dorward.me.uk/www/centre/

> In CSS, the "text-align: center;" matches to IE, but is not matching to
> Opera and Firefox.

That's a bug in IE. The text-align property centres inline content of block
elements - it shouldn't change the position of a table at all.

> Both browsers show the tables still left. Is there
> another attribute to center a table in CSS*?

There are no attributes in CSS. CSS has properties.

> * I am sorry, I could not find any appropriate newsgroups for CSS.

comp.infosystems.www.authoring.stylesheets

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация