[FX.php List] [off] CSS Print View

Gjermund Gusland Thorsen ggt667 at gmail.com
Thu Feb 19 00:23:59 MST 2009


Which browser? Did you clear the cache and force reload?

ggt

2009/2/19, Karstyn McCoy <kmccoy at supportgroup.com>:
> If this project is anything to go by, I'd say it's not!
>
> Not sure how that was introduced, but I'm fairly certain it was there before
> I started to work on the project, but I think it was blank, i.e target=''
>  I probably 'helped' by adding values.
>
>
> --Karstyn
>
> 2009/2/18 Dale Bengston <dbengston at tds.net>
> >
> > I don't think title is supported by <link> tags. I could be wrong about
> that....
> >
> >
> > Dale
> >
> >
> >
> >
> >
> >
> > On Feb 18, 2009, at 5:11 PM, Karstyn McCoy wrote:
> >
> > I may have solved it - some more testing will tell for sure.
> >
> > Looks like it was the 'title=' tag - I removed that from both style sheet
> links and it seems to be working correctly. Not sure why that would make
> such a difference, but it seems to.
> >
> > Thanks for all the help!
> >
> > --Karstyn
> >
> >
> > On Wed, Feb 18, 2009 at 3:02 PM, Karstyn McCoy <kmccoy at supportgroup.com>
> wrote:
> >
> > > Hey Joel,
> > >
> > > --- can you load the print.css file directly in the browser?
> <xxxx.triple8.net/css/styles_print.css>
> > > Yes
> > >
> > > --- could you be testing on a development server that does *not* have
> the correct print.css file (i.e. in which your base_url is different than
> xxx.triple8.net)?
> > > No - only one server involved
> > >
> > > --- is base_url a function you've written?  Why are there parens after
> it: base_url() ?
> > > I did not write it, I'm tweaking a site written by others using the
> Codeigniter framework. The function is working in a lot of places, including
> this page.
> > >
> > > and now
> > > --- if you switch "screen" and "print" in your two stylesheet links do
> you see the *print* css on-screen?
> > > NO!! the page looks unstyled - not sure why that would be, but
> definitely points to a problem somewhere
> > >
> > > --Karstyn
> > >
> > >
> > >
> > >
> > >
> > > On Wed, Feb 18, 2009 at 2:20 PM, Joel Shapiro <jsfmp at earthlink.net>
> wrote:
> > >
> > > > Hi Karstyn
> > > >
> > > > Few things to check:
> > > >
> > > > - can you load the print.css file directly in the browser?
> <xxxx.triple8.net/css/styles_print.css>
> > > > - if you switch "screen" and "print" in your two stylesheet links do
> you see the *print* css on-screen?
> > > > - could you be testing on a development server that does *not* have
> the correct print.css file (i.e. in which your base_url is different than
> xxx.triple8.net)?
> > > >
> > > > Also, is base_url a function you've written?  Why are there parens
> after it: base_url() ?
> > > >
> > > >
> > > > -Joel
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Feb 18, 2009, at 1:44 PM, Karstyn McCoy wrote:
> > > >
> > > >
> > > > > I'd don't have a problem verifying what should be obvious!
> > > > >
> > > > > Yes, styles_print.css is in the correct folder.
> > > > > No stray characters that I can find.
> > > > > I have to assume permissions are correct - I have to upload to an
> FTP site and other pages uploaded have worked correctly.
> > > > >
> > > > > --Karstyn
> > > > >
> > > > > 2009/2/18 Dale Bengston <dbengston at tds.net>
> > > > > I know this is stating the obvious, but the styles_print.css file is
> located in the right place? Does it have any stray characters or mal-formed
> style references that might cause it to fail on load? Are the permissions
> set properly on the file?
> > > > >
> > > > >
> > > > > On Feb 18, 2009, at 2:12 PM, Karstyn McCoy wrote:
> > > > >
> > > > >
> > > > > > code does seem to be rendering fine:
> > > > > > http://pastebin.com/d5d959beb
> > > > > >
> > > > > > On Wed, Feb 18, 2009 at 12:00 PM, Gjermund Gusland Thorsen
> <ggt667 at gmail.com> wrote:
> > > > > > What does your rendered output look like?
> > > > > >
> > > > > > http://pastebin.com/m161a30ac
> > > > > >
> > > > > > ggt
> > > > > >
> > > > > > 2009/2/18, Dale Bengston <dbengston at tds.net>:
> > > > > > > Hmmm, I am going to go for short tags as the problem. What
> happens if you
> > > > > > > change <? to <?php in your embedded php code? What does this
> look like when
> > > > > > > you view source in the page after it's drawn?
> > > > > > >
> > > > > > > Dale
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Feb 18, 2009, at 11:57 AM, Karstyn McCoy wrote:
> > > > > > > Hi Dale -
> > > > > > >
> > > > > > > <link rel="stylesheet" type="text/css"
> > > > > > > href="<?=base_url()?>css/styles_large.css"
> media="screen"
> > > > > > > title="screen" charset="utf-8">
> > > > > > > <link rel="stylesheet" type="text/css"
> > > > > > > href="<?=base_url()?>css/styles_print.css"
> media="print"
> > > > > > > title="print" charset="utf-8">
> > > > > > >
> > > > > > > --Karstyn
> > > > > > >
> > > > > > > 2009/2/18 Dale Bengston <dbengston at tds.net>
> > > > > > > > Hi Karstyn,
> > > > > > > >
> > > > > > > > Can you post your html code for the style sheet references?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Dale
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Feb 18, 2009, at 11:28 AM, Karstyn McCoy wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Please let me know if this is toooo far off topic for this
> list (and if
> > > > > > > so, where would be a better place).
> > > > > > > > > Just looks like there are a lot of list members with good
> broad
> > > > > > > knowledge.
> > > > > > > > >
> > > > > > > > > I've added a Print style sheet to a web page so it
> dynamically prints in
> > > > > > > a more printer friendly fashion. I have made sure that each has
> the correct
> > > > > > > media type specified, 'print' for my new style sheet and
> 'screen' for the
> > > > > > > original.
> > > > > > > > >
> > > > > > > > > The problem comes in when trying to print, the print style
> sheet is not
> > > > > > > getting used.
> > > > > > > > >
> > > > > > > > > Testing with Firefox 3 on Win - any one know of Firefox
> having problems
> > > > > > > with the 'media' tag? If I load the print style sheet manually
> it looks
> > > > > > > great.
> > > > > > > > > IE does pull the print style sheet, but mangles it a bit -
> no surprise
> > > > > > > there.
> > > > > > > > >
> > > > > > > > > Thanks for any and all suggestions.
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > --Karstyn
> > > > > > > > >
> _______________________________________________
> > > > > > > > > FX.php_List mailing list
> > > > > > > > > FX.php_List at mail.iviking.org
> > > > > > > > >
> http://www.iviking.org/mailman/listinfo/fx.php_list
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> _______________________________________________
> > > > > > > > FX.php_List mailing list
> > > > > > > > FX.php_List at mail.iviking.org
> > > > > > > >
> http://www.iviking.org/mailman/listinfo/fx.php_list
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> _______________________________________________
> > > > > > > FX.php_List mailing list
> > > > > > > FX.php_List at mail.iviking.org
> > > > > > >
> http://www.iviking.org/mailman/listinfo/fx.php_list
> > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > >  FX.php_List mailing list
> > > > > > >  FX.php_List at mail.iviking.org
> > > > > > >
> http://www.iviking.org/mailman/listinfo/fx.php_list
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > _______________________________________________
> > > > > > FX.php_List mailing list
> > > > > > FX.php_List at mail.iviking.org
> > > > > >
> http://www.iviking.org/mailman/listinfo/fx.php_list
> > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > FX.php_List mailing list
> > > > > > FX.php_List at mail.iviking.org
> > > > > >
> http://www.iviking.org/mailman/listinfo/fx.php_list
> > > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > FX.php_List mailing list
> > > > > FX.php_List at mail.iviking.org
> > > > > http://www.iviking.org/mailman/listinfo/fx.php_list
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > FX.php_List mailing list
> > > > > FX.php_List at mail.iviking.org
> > > > > http://www.iviking.org/mailman/listinfo/fx.php_list
> > > > >
> > > >
> > > > _______________________________________________
> > > > FX.php_List mailing list
> > > > FX.php_List at mail.iviking.org
> > > > http://www.iviking.org/mailman/listinfo/fx.php_list
> > > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> > _______________________________________________
> > FX.php_List mailing list
> > FX.php_List at mail.iviking.org
> > http://www.iviking.org/mailman/listinfo/fx.php_list
> >
> >
> > _______________________________________________
> > FX.php_List mailing list
> > FX.php_List at mail.iviking.org
> > http://www.iviking.org/mailman/listinfo/fx.php_list
> >
> >
>
>
>
>
> _______________________________________________
>  FX.php_List mailing list
>  FX.php_List at mail.iviking.org
>  http://www.iviking.org/mailman/listinfo/fx.php_list
>
>


More information about the FX.php_List mailing list