Afficher un message
Vieux 31/03/2008, 14h43   #1
ilya2@rcn.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How do I keep apparent table width independent of window size?

I am making an HTML table. It has a lot of columns with fixed width
(55 pixels). If I view it on full-screen IE window, the table fits on
the screen and looks just as I want it to look. When I make the window
smaller than the table, I expect horizontal scroll bar to appear.
Instead each column shrinks; a cell which had:

word1 word2
word3

becomes:

word1
word2
word3

thus distorting the table and making it look ugly. Only when I make
the window so small that columns can not shrink any more (each is the
longest word wide), does horizontal scroll bar appear.

How can I avoid this -- keep the columns same width regardless of
window size? I already tried giving the table a fixed width -- it does
not solve the problem, if anything makes it worse.
  Réponse avec citation
 
Page generated in 0,06031 seconds with 9 queries