On Thu, 28 Feb 2013, Wade Smart wrote:

On Thu, Feb 28, 2013 at 8:32 PM, Chris F.A. Johnson
<[email protected]> wrote:
On Thu, 28 Feb 2013, Wade Smart wrote:

Ive done that.  Sorry, i wasnt clear.

Only one div has a class of print and the rest are all hidden. Because
they do not print, what is there is just a large white gap.


   How do you hide it?

   Do you use 'display: none' or something else?

   'Something else' could cause the problem.

This is what Im using:

body { visibility: hidden; }

div { visibility: hidden;}

.print {visibility:visible;}

So when I print, its only printing that one div.

  Change it to 'display: none'.

  'visibility: hidden;' just hides it, it doesn't remove it from the
  page. (Did you try it on the screen as someone else suggested? If
  you had, that would have given you the answer.)

--
   Chris F.A. Johnson, <http://cfajohnson.com/>
   Author:
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to