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
0
points

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 about 6 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 about 6 years ago
  • Which browser are you using? Worked for me in Firefox danwellman about 6 years ago
w3d 25
0
points

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

Answered about 6 years ago by w3d
  • good point, IE won't apply a style sheet without it... danwellman about 6 years ago
0
points

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

@media print {  }
Answered about 6 years ago by Artistic Abode