5 replies [Last post]
le007
le007's picture
Offline
Enthusiast
Last seen: 13 years 21 weeks ago
Joined: 2006-10-08
Posts: 160
Points: 0

Hey All,
I have a 3 column display - I ONLY want to print the middle div

left div
left.php

middle div
middle.php

right div
right.php

Can someone please tell me how to print the middle div only...
I came across it on the net before but with no code!

The code would be awesome!
Oh yeah I'm using the normal function.

Many thanks!
Le007

Triumph (not verified)
Anonymous's picture
Guru

Hint: display: none;

Hint:
display: none;

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 7 years 37 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

Triumph wrote:Hint: nah I

Triumph wrote:
Hint:

nah I give up,

lee007 you may need to read a guide or two as you are likely going to need a bit more by way of styling adjustments for print, try googling on 'print stylesheets' and have a read of some of the methods to approaching print styling through CSS.

Hugo.

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me

jdancisin
Offline
newbie
Last seen: 15 years 14 weeks ago
Joined: 2007-06-21
Posts: 1
Points: 0

This should get you started...

left div, right div { display: none; }

Triumph (not verified)
Anonymous's picture
Guru

Hugo wrote:lee007 you may

Hugo wrote:
lee007 you may need to read a guide or two as you are likely going to need a bit more by way of styling adjustments for print, try googling on 'print stylesheets' and have a read of some of the methods to approaching print styling through CSS.

Start with http://www.alistapart.com

le007
le007's picture
Offline
Enthusiast
Last seen: 13 years 21 weeks ago
Joined: 2006-10-08
Posts: 160
Points: 0

hey

Thanks for all your help - I got it.