You are here: Re: Why doesn't the table data cell work properly « HTML « IT news, forums, messages
Re: Why doesn't the table data cell work properly

Posted by John Salerno on 02/02/06 22:04

Jukka K. Korpela wrote:
> John Salerno <johnjsal@NOSPAMgmail.com> wrote:
>
>> Can someone take a look at this page and tell me why the second
>> data cell in this table (under the "See Also" section) is moved so
>> far over to the right? I thought a data cell was only as wide as
>> its content, before you style it.
>
> It seems that the width of the table has been set (to 93%). A browser
> has to make the columns wide enough to achieve the width. There are no
> rules on how browsers should do this when no widths have been set for
> the columns (cells), and browsers are known to do this differently.
> Even if you set a width for a cell, it's still just "suggested minimum
> width".
>
> Perhaps the simplest way to deal with the issue is to remove the
> width setting for the table.
>

Wait, I have a quick follow up. I understand that the width: 93% might
be causing this problem, but here is a page (which I did not create
myself) that uses the same style sheet, and the data cells are not
mis-aligned like mine. Why would it display properly on this page but
not mine?

http://www.johnjsal.com/gestalt/function.SetLocalInt.html

 

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

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