- Collapsing Images
- Posted by Richard Cole on October 16th, 2005
I'm trying to create a CSS sheet, which in the printer version, collapses
some images and text (in <tr>'s).
I've got 'visibility : hidden' in the class ',hidden' in the printer CSS,
but the space taken is still preserved on the (IE6) print preview and when
printed.
I've tried 'visibility : collapse' which doesn't seem to work either.
There is a sample HTML page at
http://www.caravanningnow.co.uk/test/testprint.htm which should when
printed or print previewed, print a single line, at the top of the page.
The stylesheets are printingnow.css and caravanningnow.css in the same
directory.
I'm sure there is a nice simple (i.e. 1 line) method to compact the page
when printed, especially as the heading (and footing) are irrelevant when
the page is printed.
Thanks in advance.
Richard
See http://www.caravanningnow.co.uk for most things to do with
caravanning.
--
....and so, as the David Shayler of time prepares to confront the
eternal scales of justice, having long since defeated the bathroom
scales of destiny... - Humphrey Littleton closing comment in I'm sorry
I haven't a clue.
- Posted by Krustov on October 16th, 2005
<uk.net.web.authoring , Richard Cole , ispcrco@hotmail.com.invalid>
<7j25l1to57uv59a1rd2avfdkvjj2ucshls@4ax.com>
<Sun, 16 Oct 2005 18:58:11 +0100>
Clicked on the back icon as soon as I seen the google ads .
--
(c) The Amazing Krustov
- Posted by :::Jerry:::: on October 16th, 2005
"Richard Cole" <ispcrco@hotmail.com.invalid> wrote in message
news:7j25l1to57uv59a1rd2avfdkvjj2ucshls@4ax.com...
Try display:none
- Posted by Stevie D on October 16th, 2005
Richard Cole wrote:
A better bet would be {display:none;}.
This effectively removes it from the HTML - as far as that parsing
agent is concerned - so it takes up no space.
--
Stevie D
\\\\\ ///// Bringing dating agencies to the
\\\\\\\__X__/////// common hedgehog since 2001 - "HedgeHugs"
___\\\\\\\'/ \'///////_____________________________________________
- Posted by Andy Dingley on October 16th, 2005
On Sun, 16 Oct 2005 18:58:11 +0100, Richard Cole
<ispcrco@hotmail.com.invalid> wrote:
Visibility turns on and off the "visibility", but it doesn't make the
hole any smaller. Use display:none if you want it to _shrink_ too.
- Posted by Richard Cole on October 17th, 2005
Thanks to Jerry, Stevie and Andy for your responses (and to any others who
posted after 10am this morning).
The test file now prints the way I want it to (that's without the ads
Krustov).
Now to get the handheld version working :->
Richard
See http://www.caravanningnow.co.uk for most things to do with
caravanning.
--
....and so, as the La-La of time plays with the Tinky-Winky of destiny,
and the Dipsy of fate sits on the Po of eternity... - Humphrey
Littleton closing comment in I'm sorry I haven't a clue.


