css for Print web page

header.php
<link rel=”stylesheet” href=”<?php echo get_template_directory_uri(); ?>/css/print.css”
type=”text/css” media=”screen, print” />

print.css

@media print {

/* Avoid to display link on anchor tag */
a:link:after, a:visited:after {
content: “” !important;
}
}

Advertisements

Tagged:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: