Re: HTML table 'rows' wrapping instead of scrolling.....
- Posted by irv mullins <irvm at ellijay.com> Aug 03, 2004
- 467 views
John F Dutcher wrote: > > I am wondering if 'not wrapping for you' includes the fact that, > the headings fit on the screen...but they are 'stacked' within > the cell....I was expecting the entire phrase between the <th>...</th> > (I'm using 'th' now)....to display 'horizontally', as the data to be > placed in the table underneath the headings will require all the horizontal > cell width that these 'unstacked' headings would provide and more besides. > > My browser is showing them 'stacked' in (3) lines within the cells. > Of course they will stack if the text is longer than the available space. That may be unavoidable, because with a web browser the user, not you, have the final say as to what fonts/sizes, etc to use. That's the way it is supposed to work. So no matter what you do, if someone choses, say 48pt type for her table headers, then there's no way to avoid wrapping. The best you can do is to specify a very small font that fits on a given screen size (but realize it may be overridden), or make your headers into images (people will dislike you for doing that). Irv