Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

@media tags

Status
Not open for further replies.

Mighty

Programmer
Feb 22, 2001
1,682
US
Guys,

I use the code below to have one view on the screen but a seperate view for printing. Can anyone tell me if this is browser specific. A colleague of mine tried to print out 3 pages from my Intranet and it started to print 91,000 pages - crashing our print server. Any suggestions on what could cause this.

@media print {
#screenView {display: none;}
#printView {display: block;}
#menu0item1 {display: none;}
#menu0item2 {display: none;}
#menu0item3 {display: none;}
#menu0item4 {display: none;}
#menu0item5 {display: none;}
#menu0item6 {display: none;}
#menu0item7 {display: none;}
#menu0item8 {display: none;}
#menu0item9 {display: none;}
#menu0item10 {display: none;}
}

@media screen {
#screenView {display: block;}
#printView {display: none;}
}
Mighty :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top