<TABLE>: nadmiarowa pusta przestrzeñ

M

Ma³y Piotruœ

Dzieñ dobry,
Jestem ma³o do¶wiadczony w HTMLu. Czy mogliby¶cie mi proszê pomóc w
problemie z <TABLE>. Modyfikujê stronê
http://www.omnikom.pl/wiadomosci.htm
Niestety nie rozumiem dlaczego na tej stronie jest nadmiarowy pusty
obszar pomiêdzy wyszukiwark± ("Szukaj") a bocznym-lewym menu
("Oferta").
Bardzo dziêkujê za pomoc.
(MP)
 
D

David Dorward

Ma³y Piotruœ said:
http://www.omnikom.pl/wiadomosci.htm
Niestety nie rozumiem dlaczego na tej stronie jest nadmiarowy pusty
obszar pomi?dzy wyszukiwark? ("Szukaj") a bocznym-lewym menu
("Oferta").

When one table cell spans multiple rows, and contains enough content to make
it vertically taller then all the cells that appear in a column across
those rows, then the extra space is spread out among them.

This isn't a problem when tables are used for their intended purpose, but
doesn't look so good when you abuse tables for layout.

The solution is to stop using tables has a layout hack and switch to a
presentation language for that job.

http://allmyfaqs.net/faq.pl?Tableless_layouts
 
J

Jose

When one table cell spans multiple rows, and contains enough content to make
it vertically taller then all the cells that appear in a column across
those rows, then the extra space is spread out among them.

This isn't a problem when tables are used for their intended purpose, but
doesn't look so good when you abuse tables for layout.

Actually, when I use tables for layout, that is the desired result.
Often the way a cell gets enough content to make it vertically taller is
that the window is shrunk, which makes the table shrink, which makes the
cells shrink, which makes the text reflow (desired result), and then to
keep the layout functionally intact, the other cells get the space.

The other possible result would be that the layout stays firm, resulting
in horizontal scrolling, which is a Bad Thing.

Jose
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,739
Latest member
Clint8040

Latest Threads

Top