iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-29-2007, 10:34 AM
darren13's Avatar
WebProWorld Pro
 
Join Date: Jul 2003
Location: UK
Posts: 243
darren13 RepRank 1
Default Create Print Pages With CSS - How To?

Okay guys,

I'm stumped, I admit it! I thought I'd get on fairly easily with this, but am at a bit of a dead end.

I've created a test page at ( http://www.halcyonholidaycottages.co...-css-print.htm ) to try this out on.

I've followed (I think!) the instructions I found on the 4guys from rolla page ( http://www.4guysfromrolla.com/webtech/061103-1.shtml ) with regards to setting up a separate css style which the browser then recognises when the visitor clicks on 'print'.

However, the navigation menu on the left and the header image at the top weren't supposed to disappear until the visitor went to File/Print...as you can see, it seems that the display has been turned off for these two before Print is clicked...

Think I've missed something here - if anyone can help, my css files are at http://www.halcyonholidaycottages.co.uk/print.css and http://www.halcyonholidaycottages.co.uk/Halcyon.css

Any help as ever gratefully received!

Many Thanks,
Darren.
Reply With Quote
  #2 (permalink)  
Old 01-29-2007, 10:53 AM
Webnauts's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: Aug 2003
Location: Worldwide
Posts: 8,132
Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8
Default

Darren check this tutorial: http://alistapart.com/articles/goingtoprint/
__________________
"Being an expert isn't telling other people what you know. It's understanding what questions to ask, and flexibly applying your knowledge to the specific situation at hand. Being an expert means providing sensible, highly contextual direction." Jeff Atwood
SEO Workers - Search Engine Optimization Consulting Company | SEO Analysis Tool | Webnauts Net SEO
Reply With Quote
  #3 (permalink)  
Old 01-29-2007, 11:08 AM
darren13's Avatar
WebProWorld Pro
 
Join Date: Jul 2003
Location: UK
Posts: 243
darren13 RepRank 1
Default

Thanks Webnauts -
I'd found that through a link on page 2 of this forum - someone else's trials and tribulations with printing and css! In fact it may even have been your link I followed there!

Fortunately for me, I have now solved my problem - I had a good look at the html and found that there was a duplicate link to the stylesheet "print.css" - in this one I hadn't declared media="print" though. I took it out and hey presto!

So thanks to those who looked...sorry I didn't find it before posting and wasting your time!

Darren.
Reply With Quote
  #4 (permalink)  
Old 01-29-2007, 12:00 PM
Webnauts's Avatar
WebProWorld 1,000+ Club
WebProWorld MVP
 
Join Date: Aug 2003
Location: Worldwide
Posts: 8,132
Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8Webnauts RepRank 8
Default

No problem Darren. Important is that you got it fixed buddy. :)
__________________
"Being an expert isn't telling other people what you know. It's understanding what questions to ask, and flexibly applying your knowledge to the specific situation at hand. Being an expert means providing sensible, highly contextual direction." Jeff Atwood
SEO Workers - Search Engine Optimization Consulting Company | SEO Analysis Tool | Webnauts Net SEO
Reply With Quote
  #5 (permalink)  
Old 01-30-2007, 09:51 AM
darren13's Avatar
WebProWorld Pro
 
Join Date: Jul 2003
Location: UK
Posts: 243
darren13 RepRank 1
Default

The link to the other article I found with information on this (using a separate css 'print style' to make the page printer friendly - www.webproworld.com/viewtopic.php?t=65609

Thanks,
D
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:37 AM.



Search Engine Optimization by vBSEO 3.3.0