我正在使用Jquery完整日历资源视图,我想打印此页面。我试过的代码...
<link href='fullcalendar/fullcalendar/fullcalendar.print.css'
rel='stylesheet' media='print' />
function print_calendar()
{
window.print();
}但它是这样显示的.

请给我任何解决方案,等待肯定的答复。
发布于 2013-09-20 14:05:04
我把它放在Iframe中,它就能正常工作。由于冲突,它不能正确显示..谢谢你给我的建议。我还在fullcalendar.print.css中进行了编辑。
.fc-event {
background: #ffffff !important;
color: #000000 !important;
}
.fc-widget-content {
border: 1px solid #000000;
}
.fc-event-bg {
display: none !important;
}
.fc-event .ui-resizable-handle {
display: none !important;
}
.fc-header {
display: none; vertical-align: top;
}发布于 2013-09-20 13:48:20
尝试同时包含两个样式表
<link href="fullcalendar/fullcalendar.css" rel="stylesheet">
<link href="fullcalendar/fullcalendar.print.css" rel="stylesheet" media="print">https://stackoverflow.com/questions/18887497
复制相似问题