media="print" - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: media="print" (/showthread.php?tid=44527) |
media="print" - El Forum - 08-17-2011 [eluser]Todlerone[/eluser] Hello all and TY in advance. I'm trying to add some print.css structure to my site. I haven't done this before. I tried several times with several website examples but was unsuccessful. So I started from the beginning and here is what I'm faced with. If I just use the media="screen" I see what I want plus all of the unwanted stuff (as expected). However, all I had done was copy my default.css and renamed it to print.css within the same folder and same link. The print preview shows me almost nothing. Code: <link rel="stylesheet" type="text/css" media="screen" href="<?php echo base_url(); ?>css/default.css"/> TY... media="print" - El Forum - 08-17-2011 [eluser]OliverHR[/eluser] http://www.westciv.com/style_master/academy/css_tutorial/advanced/printing.html media="print" - El Forum - 08-17-2011 [eluser]Todlerone[/eluser] Great and TY. My problem is that at my work we still have alot of PC's using IE7 with an upgrade next year. The @rule is for IE8 and above. Still don't understand why my print.css doesn't work as it is an exact copy of my default.css? TY media="print" - El Forum - 08-18-2011 [eluser]Todlerone[/eluser] bump |