Forum Moderators: open

Message Too Old, No Replies

Alternate link for print page - IE is ok, FF no

         

tomda

1:12 pm on Apr 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi,

I have a small printer-friendly link on every page of my site but I am convinced that most users will still use the Print command from the browser menu.

So, I have added this line in the <header>

<link rel='alternate' type='text/html' media='print' href='my_page.php?print=1' title='Print page'>

When using IE6.0, it works great, meaning that even if the person choose "Print" or "Print preview", IE loads the external page, which is great.

BUT it doesn't work in FF? Why? Is there something wrong with the above code? Is the type wrong (HTML or PHP?)

It is even listed in the HTML 4.0 reference of my html editor.

The alternative link relationship defines an alternate version of the document. e.g. <link REL=Alternate HREF='/pdf/html40.pdf" type="application/pdf' media=print title='PDF version'>

Thank you

tedster

6:44 pm on Apr 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Only thing I can say is that for several versions of the browser now, I've read many gripes about FireFox's print functionality. The developers' focus seems to be mostly on screen rendering. Your mark-up looks fine to me.