Reply to Re: Why doesn't the table data cell work properly

Your name:

Reply:


Posted by John Salerno on 02/02/06 16:53

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.
>

Thanks! I'm afraid to mess with any of the style rules that were already
there, but now that I know what's causing the problem, maybe I can just
override it.

Also, I started to wonder if I even need to use a table to do this. I
suppose it might help if I had more rows later, but the main reason was
to take advantage of the pre-existing table styles in the style sheet
(which obviously is not working!) :)

[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

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