Printing query

K

KiwiBrian

In the following page I have it styled so that when printed only the "form"
at the bottom of the page will print.
However it prints within a page border that I don't want, but have been
unable to prevent, or ascertain what is causing the page border.
All CSS is embedded or inline.
Any help would be appreciated.

http://www.hibiscuslink.co.nz/Entertainment/tq.html
 
M

Mark Parnell

K

KiwiBrian

Mark Parnell said:

Thanks Mark.
I probably worded my query poorly.
I want that border to display on the screen but not to be printed.
I have checked the validation points mentioned above, and changed the CSS
slightly, but am still unable to prevent the page border being printed, but
being displayed on the screen.
Any more help appreciated.
Brian Tozer
 
K

KiwiBrian

Mark Parnell said:
In your media="print" styles:

body {border: none;}

Thanks Mark. That is what I thought but in my page it does not work.
A Print Preview will probably show the unwanted page border.
It has got me beat.
Brian Tozer
 
E

Els

KiwiBrian said:
Thanks Mark. That is what I thought but in my page it does not work.
A Print Preview will probably show the unwanted page border.
It has got me beat.

You specified print styles and than overrule them with the regular
styles. If you place the print styleblock below the other styleblock,
things may well change :)
 
K

KiwiBrian

Els said:
You specified print styles and than overrule them with the regular
styles. If you place the print styleblock below the other styleblock,
things may well change :)

Thankyou thankyou thankyou Els!!!
That was it.
I didn't realise that the order worked like that.
Another day, another lesson learned.
Kind regards from New Zealand.
Brian.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top