Print Certificate ,but Menu Bar & Header Can Not Be Visible..

Hi,

i am new to Yii, Pls suggest me…

i am preparing a certificate.when i click on print button at that time it will show me only a certificate… not display ll menus and all.

i wanna print certificate in a white page but menu bar & college name should not display in my page.

Can anybody help for this…

Thanks in Advance,

With Regards,

Janvi

Use renderPartial() for your certificate.

css

Add display:none; to the print.css for the #header id. (It maybe visible:none, you need to check)

Hi,

i have already set that css in header : display:nonce.

but still its not working.

pls guide me.

Thanks

Regards,

janvi

print.css




#header, #mainmenu, #footer {

   display: none;

}