HighDots Forums  

Re: Preventing text from being cropped ?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Preventing text from being cropped ? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bergamot
 
Posts: n/a

Default Re: Preventing text from being cropped ? - 08-07-2007 , 03:23 PM






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


Reply With Quote
  #2  
Old   
Jim Moe
 
Posts: n/a

Default Re: Preventing text from being cropped ? - 08-07-2007 , 09:11 PM






Bergamot 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.

It is more a feature of page layout programs like QuarkExpress or
InDesign. He correctly named them later as "widows" and "orphans." I
believe more recent versions of word processors have added the feature to
their repertoire.
I can never remember which is which, widows and orphans. One is the
single line of a paragraph at the bottom of a page (widow?), the rest of
the paragraph on the next page. The other is the last line (orphan?) of a
paragraph on the following page with the rest of the paragraph on the
preceding page.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.