David Teller wrote:
Quote:
when a line doesn't fit vertically in
the display, I want it to simply disappear. This is something that
every word processor does by pushing the whole line to the next page |
I don't know what word processor you use that does this, but mine don't
do what you claim they all do.
Unless the application viewport is exactly the right height, scrolling
up or down a page of text *may* reposition either the top or bottom line
so it doesn't get clipped, but the line at the other end may well be cut
off. This is true for both Word and Open Office, at least on my PC.
Quote:
but I have trouble doing it with CSS. |
It's really a waste of time trying to do it at all. The closest you'll
get is setting the container height and line-height as was already
suggested, but usability is probably negatively affected when you do that.
--
Berg