0
Welcome Guest! Login
0 items Join Now

Can some of the CSS be made "printable?"

  • Can some of the CSS be made "printable?"

    Posted 17 years 11 months ago
    • I am using the Bentobox template on a clients site. Currently, if you print the "page" using the web browsers print function, all the css is stripped. This means that the logo is lost. Is there any way I can make the browser print the logo and a few other graphics when someone prints from the browser?

      Thanks in advance,

      A
  • Re: Can some of the CSS be made "printable?"

    Posted 17 years 11 months ago
    • I found this on "A List Apart" alistapart.com/stories/goingtoprint/

      But it would be great if someone had already done the stylesheet...

      Maybe Rockettheme could add a print style sheet to their new templates? ::)
  • Re: Can some of the CSS be made "printable?"

    Posted 17 years 11 months ago
    • Ok,

      I also fond this : www.designplace.org/tutorials.php?page=1&c_id=27

      It's a good description of how to set up a print only stylesheet. Without the new print css shouldn't the printer print everything? If so, then why is it printing no styles at all, while maintaining the proper layout?

      A
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: Can some of the CSS be made "printable?"

    Posted 17 years 11 months ago
    • Bob Ateah's Avatar
    • Bob Ateah
    • Elite Rocketeer
    • Posts: 4521
    • Thanks: 0

    Re: Can some of the CSS be made "printable?"

    Posted 17 years 11 months ago
    • What browser are you using to try and print the page? Check your browser settings?
    • The member formerly known as Roland Deschain
      After your question is solved, please Edit your original post and choose the Solved message icon, thank you!
  • Re: Can some of the CSS be made "printable?"

    Posted 17 years 11 months ago
    • I'm looking at my browser settings... Firefox... can't find printer settings.

      Okay, here is the code in the templates index.php declaring the stylesheets:

      <link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site;?>/templates/<?php echo $mainframe->getTemplate(); ?>/css/template_css.css" media="screen" />

      <link rel="stylesheet" type="text/css" media="print" href=" 67.15.157.129/templates/rt_bentobox/css/template_cssprint.css " />

      the top style is for screen the bottom, for print.

      Yet I print from the browser and there is no styling attached, but the layout is correct... Do I need to disable the Joomla default print behavior so the new template_cssprint.css stylesheet is referenced?

      Any more help would be greatly appreciated!
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: Can some of the CSS be made "printable?"

    Posted 17 years 11 months ago
    • Aaron Handford wrote:
      Yet I print from the browser and there is no styling attached, but the layout is correct... Do I need to disable the Joomla default print behavior so the new template_cssprint.css stylesheet is referenced?
      the thread i posted above seems to imply that. only way to know for sure is to test :)
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
  • Re: Can some of the CSS be made "printable?"

    Posted 17 years 11 months ago
    • Yes, and test I have. It seems the print stylesheet is definitely being referenced.

      Don't know why no background css images are coming through... but it may be my browser settings because no css images are appearing on any website I try to print.


      So I guess I will just adjust the print stylesheet as best I can and perhaps insert a logo that is hidden on the screen stylesheet.

      Thanks for all you help!

Time to create page: 0.078 seconds