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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing All Tabs

Status
Not open for further replies.

samkal

Technical User
Jun 24, 2008
41
US
Can someone please tell me how to print all Tabs in current window?
 
Thanks Vragabond! I am using regular css and print.css for a web page that contains 2 Tabs in addition to main page.I am using following code in print.css file

@media all
{
.page-break { display:none; }
}

@media print
{
.page-break { display:block !important; page-break-before:always; margin: 0; border-top:none; }
}

and following in xhtml file:
<div class="page-break"></div>

The print view displays main page and one of the Tab page on the first page side by side. I would like to see each tab content on separate page.Can you please help me out and let me know what I am missing? Will appreciate it

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top