Support » How-To and Troubleshooting » /print.css 404 error

/print.css 404 error

  • Why am I getting this 404 error in my logs?


    Can I remove the code referencing this? Or create a blank file with that name?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Yes to both. To just remove the ref, look at this in the <head> portion of your page template:

    <link rel="stylesheet" type="text/css" media="print" href="<?php echo get_settings('siteurl'); ?>/print.css" />

    Would duplicating the style.css and renaming that print.css solve the problem and allow printing to occur properly? Or is there any need for the print.css file to be called?

    print.css (or more formally, the “print” stylesheet) is merely intended for any style information specific for page layout when printed by a browser. If it doesn’t exist, the browser uses the current stylesheet, overridden with any specific , built-in requirements for a print job (such as making sure to print text as black).

    For an example of what *might* be done through the print stylesheet, visit my blog (click the name!) and hit print preview in your browser. You’ll notice some distinct differences from what appears in the browser window.

    Where in the stylesheet does the

    div.cent {
    text-align: center;


    Catch podz reply on that in the other thread (if you haven’t already).

    Just get the print.css from the 1.2.2 distribution and upload it. Works fine (although it’s not actually beautiful)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘/print.css 404 error’ is closed to new replies.
Skip to toolbar