Reply to Re: css trouble in mozilla

Your name:

Reply:


Posted by Jonathan N. Little on 12/27/65 11:39

APT wrote:

> Hmmm...
>
> I seemed to have figured it out. So if you visited and saw the pages match,
> that's why.
>
> Turns out Mozilla doens't like:
> <table width="800" height="600" border="0" align="center" cellpadding="0"
> cellspacing="0" class="contain">
>
> I took out the align="center" and the class="contain" and the put a <div>
> around the whole table to keep things in position.
>
> Not exactly how I want it to look, but atleast it is consistent.

What is your intention, to center the table on the page or center the
text within the table cells? For the former:

TABLE.contain { margin-left: auto; margin-right: auto; }

for the latter:

TABLE.contain TD { text-align: center; }

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[Back to original 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

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