You are here: Re: can't make table height smaller « HTML « IT news, forums, messages
Re: can't make table height smaller

Posted by Jose on 10/06/68 11:42

> I just need to add some links and clean up
> the look as best as possible.

I thought the issue was the tables had a minimum size you wanted to
eliminate. Something like

> <td height="89" width="249">

....sets the size. Tables will (on some browsers) expand if necessary,
but they won't contract. HTML is not a page layout language; it's not
supposed to be. You can sometimes fool a browser into giving you
something, and that's what you're doing here with tables.

> Is there a way to make a small change to the existing html to get the
> tables to be the same size?

Depends what you mean by small. Since your tables are all
pixel-measured (very bad), you will need to "fix" a lot of little
things. Depending on exactly what you want, there may be only a few of
these little things that need to be fixed to satisfy you, but I can't
tell offhand which ones they are. But the basic problem is pixel-measuring.

> And I need them to stay the
> same size relative to each other.

That is not possible in HTML. It's also not desirable, since sometimes
a cell will have more than it otherwise could hold (either because
there's more data, or the user's font size is bigger than you
anticipated... unless you are going to reach out through the monitor and
give people eye surgery, you need to accept that.

The basic problem is use of tables for layout. Fixing that is a big
deal. If you don't want to fix that, then the secondary problem is,
within the tables, using pixel measurements. There are a lot of them,
you'll need to find out which ones are controlling the sizes you want to
adjust.

Are you familiar with the HTML of tables?

Jose
--
Money: what you need when you run out of brains.
for Email, make the obvious change in the address.

 

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

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