Welcome Guest, Not a member yet? Register   Sign In
media="print"
#1

[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"/>
<link rel="stylesheet" type="text/css" media="print" href="<?php echo base_url(); ?>css/print.css"/>

TY...
#2

[eluser]OliverHR[/eluser]
http://www.westciv.com/style_master/acad...nting.html
#3

[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
#4

[eluser]Todlerone[/eluser]
bump




Theme © iAndrew 2016 - Forum software by © MyBB