I created a print.css file to just show the calendar, and it isn't working.

Site: http://brunobjj.com/schedule

Here is my link to the print.css file

<link type="text/css" href="/css/print.css" media="print" />

Any ideas what im doing wrong?

3 answers

danwellman 5600

You fixed this right? It works for me...

You might want to hide the 'sign up for class' button but apart from that it's perfect

Answered almost 7 years ago by danwellman
  • No, it still doesn't work. When you go to print and do a preview, its shows all the copy and layout structure. I only want the calendar to show. I put display:none; on all the attributes except for what I wanted to print... Juan Di Diego almost 7 years ago
  • Which browser are you using? Worked for me in Firefox danwellman almost 7 years ago
w3d 25

You have omitted the rel="stylesheet" attribute, which might cause problems with some browsers.

Answered almost 7 years ago by w3d
  • good point, IE won't apply a style sheet without it... danwellman almost 7 years ago

You can also put print styles in your regular CSS file by wrapping them in this code block:

@media print {  }
Answered almost 7 years ago by Artistic Abode