Looking into the website’s source code after putting each of those in would seem to show that they’re doing what they need to be doing, but unfortunately it’s not working when I go to print the page.
Do I need to change something else on the page? At the moment, the following bit of code is still intact in the header:
<style type="text/css" media="screen">@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
And I’ve been putting your suggested bits of code with the other <link rel=...
coding that’s there.
So the whole thing looks like this:
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /><!-- leave this for stats please -->
<style type="text/css" media="screen"> @import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/print.css" type="text/css" media="print" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
</head>
But as I don’t really understand what the code is doing, I know I’m probably putting it in completely the wrong place, or not making some fundamental important change that’s needed. I’ve always relied on Dreamweaver to do the stylesheet attaching, I’m ashamed to admit.