Re: [WSG] print headers/footers
I should have added that I'm looking for something that works in IE for 98 as the lowest common denominator... That's what most of our visitors use. Barb Barbara Dozetos wrote: Hi all -- Me again, working on a print style sheet. Is there some way to control the headers and footers that are automatically added to a page printed from a browser? Can I add something to the line where the page numbers are? Barb -- Barbara Dozetos [EMAIL PROTECTED] Physician's Computer CompanyMarketing Team 1 Main St., Ste 7 802-846-5532 Winooski, VT 05404 * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
RE: [WSG] print headers/footers
As far as I'm aware, those are handled by the user agent and outside of the remit of CSS, if you will... Personally, it would strike me as being an interference with the users' expected behaviour if you changed that... Patrick Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk -Original Message- From: Barbara Dozetos [mailto:[EMAIL PROTECTED] Sent: 26 April 2004 14:47 To: [EMAIL PROTECTED] Subject: [WSG] print headers/footers Hi all -- Me again, working on a print style sheet. Is there some way to control the headers and footers that are automatically added to a page printed from a browser? Can I add something to the line where the page numbers are? Barb -- Barbara Dozetos [EMAIL PROTECTED] Physician's Computer Company Marketing Team 1 Main St., Ste 7 802-846-5532 Winooski, VT 05404 * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help * * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
Re: [WSG] print headers/footers
http://www.codestyle.org/css/media/FAQ.shtml#printmargins says that this cannot be done Q: How can I control print headers and footers with CSS? The page numbers, URL, date and other peripheral information that may be printed with a Web page cannot be controlled by CSS in mainstream Web browsers. CSS properties can only affect the so-called canvas area of the browser, the part where the HTML is rendered, not browser-specific features like page headers and footers. Incidentally, any print margin you set on the HTML body element will typically be applied in addition to the print margins set by the user. If you really need a high level of print control for Web documents, you may be better off using Adobe PDF, or writing some really clear, friendly user instructions. -- Neerav Bhatt http://www.bhatt.id.au Web Development IT consultancy Barbara Dozetos wrote: I should have added that I'm looking for something that works in IE for 98 as the lowest common denominator... That's what most of our visitors use. Barb Barbara Dozetos wrote: Hi all -- Me again, working on a print style sheet. Is there some way to control the headers and footers that are automatically added to a page printed from a browser? Can I add something to the line where the page numbers are? Barb * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
Re: [WSG] print headers/footers
I've done that with a header for the print version only, but because we can't reliably control page breaks, I'm lost on how to make sure our logo shows up on each printed page. All is fine if it prints out to only one page, or even two, because I can use both a header and a footer, but the pages in between are left without the logo. Any ideas? Barb Bert Doorn wrote: Hi Barbara The easiest way, for me, was to add the header in a paragraph or div at the bottom of the page, hiding it in the display style sheet and displaying it in the print style sheet. See my site www.betterwebdesign.com.au for an example (do a print preview on any page - quite different from onscreen layout). I don't believe CSS can insert content itself - it's about presentation. You may find a hack that will interact with the browser's page setup, but I'm not aware of any and it will depend on the browser used. Regards -- Barbara Dozetos [EMAIL PROTECTED] Physician's Computer CompanyMarketing Team 1 Main St., Ste 7 802-846-5532 Winooski, VT 05404 * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
Re: [WSG] print headers/footers
Just a quick note to all UK designers out there (can't speak for other countries), if you design with 'most of our visitors' in mind be afraid, very afraid. A printed page with headers and footers stating Disabilities Discrimination Act 1995 could be heading your way soon. Unless your designing an Intranet or a network site that is not available to the public, design your site with everybody in mind, regardless of what your user reports tell you. One of the main reasons for standards is accessibility to all. Please visit the PPA Website at: www.ppa.org.uk Rob O'NeillWeb Team ManagerPrescription Pricing AuthorityBridge House152 Pilgrim StreetNewcastle Upon TyneNE1 6SN email: [EMAIL PROTECTED] tel: (0191) 203 5483ext: 5483 [EMAIL PROTECTED] 04/26/04 03:02pm I should have added that I'm looking for something that works in IE for 98 as the lowest common denominator... That's what most of our visitors use.BarbBarbara Dozetos wrote: Hi all -- Me again, working on a print style sheet. Is there some way to control the headers and footers that are automatically added to a page printed from a browser? Can I add something to the line where the page numbers are? Barb-- Barbara Dozetos [EMAIL PROTECTED]Physician's Computer Company Marketing Team1 Main St., Ste 7 802-846-5532Winooski, VT 05404*The discussion list for http://webstandardsgroup.org/See http://webstandardsgroup.org/mail/guidelines.cfmfor some hints on posting to the list getting help* *** IMPORTANT NOTICE *** *** PPA DISCLAIMER*** This e-mail and any attachments transmitted with it, including replies and forwarded copies subsequently transmitted (which may contain alterations), contains information which may be confidential and which may also be privileged. The content of this e-mail is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), or the person authorised as responsible for delivery to the intended recipient(s), please note that any form of distribution, copying or use of this e-mail or the information in it is strictly prohibited and may be unlawful. If you have received this e-mail in error please notify the Network Team at the Prescription Pricing Authority via e-mail to [EMAIL PROTECTED] including a copy of this message. Please then delete this e-mail and destroy any copies of it. Further, we make every effort to keep our network free from viruses. However, you do need to validate this e-mail and any attachments to it for viruses, as we can take no responsibility for any computer virus that might be transferred by way of this e-mail. This e-mail is from the Prescription Pricing Authority whose principal office is at Bridge House, 152 Pilgrim Street, Newcastle-upon-Tyne, NE1 6SN. Switchboard Telephone Number :- +44 (0)191 232 5371
Re: [WSG] print headers/footers
Barb, I don't believe there's a way to control the actual headers/footers printed on a page by a browser. That'd be like trying to change the default buttons on the browsers' toolbars. But someone correct me if I'm wrong, cuz that'd be kinda interesting if that *could* be controlled. :D A search I did on google confirmed that via CSS, the headers/footers can't be changed unless it was via some kind of hack. later, Z · · · · · · · · · · · · · · · · · · · · · · · · · Z u l e m a O r t i z W e b D e s i g n e r email : [EMAIL PROTECTED] website : http://zoblue.com/ weblog : http://blog.zoblue.com/ · · · · · · · · · · · · · · · · · · · · · · · · · On Monday, April 26, 2004 9:02 AM, Barbara Dozetos [EMAIL PROTECTED] wrote: I should have added that I'm looking for something that works in IE for 98 as the lowest common denominator... That's what most of our visitors use. Barb Barbara Dozetos wrote: Hi all -- Me again, working on a print style sheet. Is there some way to control the headers and footers that are automatically added to a page printed from a browser? Can I add something to the line where the page numbers are? Barb -- Barbara Dozetos [EMAIL PROTECTED] Physician's Computer CompanyMarketing Team 1 Main St., Ste 7 802-846-5532 Winooski, VT 05404 * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help * * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
Re: [WSG] print headers/footers
I don't believe there's a way to control the actual headers/footers printed on a page by a browser. That'd be like trying to change the default buttons on the browsers' toolbars. But someone correct me if I'm wrong, cuz that'd be kinda interesting if that *could* be controlled. :D Well, it can be controled, but not by means of HTML or CSS. You need to change it in users options. Alsoi, AFAIK, there is some Acitive-X component (for IE) which gives more control over printing from browser. Regards, Rimantas * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
RE: [WSG] print headers/footers
In this particular case though, I'm assuming the styling that Barbara is after is only an extra feature, some eye candy, and that the printouts still make sense on browsers that don't support print styles...so, as well meant as the warning was, let's not lose sight of the real issues. If I say our site is designed to look nice in browsers that support standards-compliant code, for instance, I'm not discriminating against users of old/alternate browsers as long as it degrades gracefully and still makes sense without the styles... Of course, if Barbara was hoping to put essential information in purely CSS generated headers/footers, which would not appear in browsers which don't support print styles, then yes, your point is valid... P -Original Message- From: Robert O'Neill [mailto:[EMAIL PROTECTED] Sent: 26 April 2004 15:26 To: [EMAIL PROTECTED] Subject: Re: [WSG] print headers/footers Just a quick note to all UK designers out there (can't speak for other countries), if you design with 'most of our visitors' in mind be afraid, very afraid. A printed page with headers and footers stating Disabilities Discrimination Act 1995 could be heading your way soon. Unless your designing an Intranet or a network site that is not available to the public, design your site with everybody in mind, regardless of what your user reports tell you. One of the main reasons for standards is accessibility to all. * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
RE: [WSG] print headers/footers
The only method I can think of is to use a server side control to maybe split the page content down into manageable chunks, by manageable, I mean take a reasoned guess as to how much page content will fit onto one printed page :( ), and then present a control page to users whereby they can print each manageable page in sequence. Incredibly clunky though just to achieve a logo presence on each page. And a lot more ink and paper for the user. Mark [EMAIL PROTECTED] I've done that with a header for the print version only, but because we can't reliably control page breaks, I'm lost on how to make sure our logo shows up on each printed page. All is fine if it prints out to only one page, or even two, because I can use both a header and a footer, but the pages in between are left without the logo. Any ideas? Barb * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
[Maybe Spam] RE: [WSG] print headers/footers
It was not Barbara's features I was highlighting (please don't take that the wrong way), just the fact that generally designing a web site for a majority, inherently means you are discriminating against a minority. Minorities rule in a court of law. Please visit the PPA Website at: www.ppa.org.uk Rob O'NeillWeb Team ManagerPrescription Pricing AuthorityBridge House152 Pilgrim StreetNewcastle Upon TyneNE1 6SN email: [EMAIL PROTECTED] tel: (0191) 203 5483ext: 5483 [EMAIL PROTECTED] 04/26/04 03:53pm In this particular case though, I'm assuming the styling that Barbara is after is only an "extra" feature, some eye candy, and that the printouts still make sense on browsers that don't support print styles...so, as well meant as the warning was, let's not lose sight of the real issues. If I say "our site is designed to look nice in browsers that support standards-compliant code", for instance, I'm not discriminating against users of old/alternate browsers as long as it degrades gracefully and still makes sense without the styles... Of course, if Barbara was hoping to put essential information in purely CSS generated headers/footers, which would not appear in browsers which don't support print styles, then yes, your point is valid... P -Original Message- From: Robert O'Neill [ mailto:[EMAIL PROTECTED] Sent: 26 April 2004 15:26 To: [EMAIL PROTECTED] Subject: Re: [WSG] print headers/footers Just a quick note to all UK designers out there (can't speak for other countries), if you design with 'most of our visitors' in mind be afraid, very afraid. A printed page with headers and footers stating Disabilities Discrimination Act 1995 could be heading your way soon. Unless your designing an Intranet or a network site that is not available to the public, design your site with everybody in mind, regardless of what your user reports tell you. One of the main reasons for standards is accessibility to all. * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help * *** IMPORTANT NOTICE *** *** PPA DISCLAIMER*** This e-mail and any attachments transmitted with it, including replies and forwarded copies subsequently transmitted (which may contain alterations), contains information which may be confidential and which may also be privileged. The content of this e-mail is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), or the person authorised as responsible for delivery to the intended recipient(s), please note that any form of distribution, copying or use of this e-mail or the information in it is strictly prohibited and may be unlawful. If you have received this e-mail in error please notify the Network Team at the Prescription Pricing Authority via e-mail to [EMAIL PROTECTED] including a copy of this message. Please then delete this e-mail and destroy any copies of it. Further, we make every effort to keep our network free from viruses. However, you do need to validate this e-mail and any attachments to it for viruses, as we can take no responsibility for any computer virus that might be transferred by way of this e-mail. This e-mail is from the Prescription Pricing Authority whose principal office is at Bridge House, 152 Pilgrim Street, Newcastle-upon-Tyne, NE1 6SN. Switchboard Telephone Number :- +44 (0)191 232 5371
RE: [WSG] print headers/footers
Actually, by default most browsers (nowadays anyway) seem to leave out background images (and colours...and borders...etc) on printouts; this needs to be explicitly *enabled*. P Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk -Original Message- From: Bert Doorn [mailto:[EMAIL PROTECTED] Sent: 26 April 2004 16:17 To: [EMAIL PROTECTED] Subject: RE: [WSG] print headers/footers G'day A graphical page background should repeat on each page when printed (unless the user has turned printing of images and backgrounds off), so perhaps put the logo in as a background (for the print style sheet) and add appropriate padding to the page. Regards -- Bert Doorn, Better Web Design www.betterwebdesign.com.au Fast-loading, user-friendly websites -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barbara Dozetos Sent: Monday, 26 April 2004 10:18 PM To: [EMAIL PROTECTED] Subject: Re: [WSG] print headers/footers I've done that with a header for the print version only, but because we can't reliably control page breaks, I'm lost on how to make sure our logo shows up on each printed page. All is fine if it prints out to only one page, or even two, because I can use both a header and a footer, but the pages in between are left without the logo. * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help * * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
RE: [Maybe Spam] RE: [WSG] print headers/footers
However, if it comes to court, the case will - in my mind anyway - have to be made about specific features that are or aren't discriminating, and not (just) general principles. As I said - and I don't think we're disagreeing here, just want to spell it out - you *can* design for the majority, as long as you ensure that your design degrades gracefully and meaningfully for the minorities. Otherwise, you just end up design to the lowest of the lowest common denominators, and we may as well just do unstyled html 2.0 or something. P Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk Original Message- From: Robert O'Neill [mailto:[EMAIL PROTECTED] Sent: 26 April 2004 16:16 To: [EMAIL PROTECTED] Subject: [Maybe Spam] RE: [WSG] print headers/footers It was not Barbara's features I was highlighting (please don't take that the wrong way), just the fact that generally designing a web site for a majority, inherently means you are discriminating against a minority. Minorities rule in a court of law. * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
RE: [WSG] print headers/footers
From: Barbara Dozetos [mailto:[EMAIL PROTECTED] [snip] but because we can't reliably control page breaks, Page-break-after should be supported since IE4.0 (not tested it though) http://www.w3.org/TR/REC-CSS2/page.html#page-break-props P Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
RE: [Maybe Spam] RE: [WSG] print headers/footers
Doh! article URL http://www.computerweekly.com/articles/article.asp?liArticleID=129919liFlavourID=1 I think we will have to wait for some decent case law before we fully realise how this will effect web designers. A recent article in computer weekly 'Ignoring disabled web access will lead to legal action, warns DRC' illustrates that this might not be too far away.. Please visit the PPA Website at: www.ppa.org.uk Rob O'NeillWeb Team ManagerPrescription Pricing AuthorityBridge House152 Pilgrim StreetNewcastle Upon TyneNE1 6SN email: [EMAIL PROTECTED] tel: (0191) 203 5483ext: 5483 [EMAIL PROTECTED] 04/26/04 04:35pm However, if it comes to court, the case will - in my mind anyway - have to be made about specific features that are or aren't discriminating, and not (just) general principles. As I said - and I don't think we're disagreeing here, just want to spell it out - you *can* design for the majority, as long as you ensure that your design degrades gracefully and meaningfully for the minorities. Otherwise, you just end up design to the lowest of the lowest common denominators, and we may as well just do unstyled html 2.0 or something.PPatrick H. LaukeWebmaster / University of Salfordhttp://www.salford.ac.uk Original Message- From: Robert O'Neill [mailto:[EMAIL PROTECTED] Sent: 26 April 2004 16:16 To: [EMAIL PROTECTED] Subject: [Maybe Spam] RE: [WSG] print headers/footers It was not Barbara's features I was highlighting (please don't take that the wrong way), just the fact that generally designing a web site for a majority, inherently means you are discriminating against a minority. Minorities rule in a court of law.*The discussion list for http://webstandardsgroup.org/See http://webstandardsgroup.org/mail/guidelines.cfmfor some hints on posting to the list getting help* *** IMPORTANT NOTICE *** *** PPA DISCLAIMER*** This e-mail and any attachments transmitted with it, including replies and forwarded copies subsequently transmitted (which may contain alterations), contains information which may be confidential and which may also be privileged. The content of this e-mail is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), or the person authorised as responsible for delivery to the intended recipient(s), please note that any form of distribution, copying or use of this e-mail or the information in it is strictly prohibited and may be unlawful. If you have received this e-mail in error please notify the Network Team at the Prescription Pricing Authority via e-mail to [EMAIL PROTECTED] including a copy of this message. Please then delete this e-mail and destroy any copies of it. Further, we make every effort to keep our network free from viruses. However, you do need to validate this e-mail and any attachments to it for viruses, as we can take no responsibility for any computer virus that might be transferred by way of this e-mail. This e-mail is from the Prescription Pricing Authority whose principal office is at Bridge House, 152 Pilgrim Street, Newcastle-upon-Tyne, NE1 6SN. Switchboard Telephone Number :- +44 (0)191 232 5371
RE: [WSG] print headers/footers
I'm fairly sure the page-break-after won't help here. That doesn't add some thing after a page break. E.g. it can't be used to stick a logo after every page break (to show on the top of each new page). page-break-after tells the browser to break the page after the element. For example... p {page-break-after: always;} or... h2 {page-break-after: avoid;} That last one's handy ;) You shouldn't use the page break thing often though. Oh also, if you try and guess where the page should break... Remember people use different paper size, margins, font size, etc, etc. If you *need* your logo on the top of every page, pdf is really the easiest and safest way. In saying that, that doesn't stop most people printing straight from the webpage (_) Goodluck, Darian Cabot -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Cabot Consultants Pty Ltd Software Engineer / Website Design http://www.cabotconsultants.com.au -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- From: Barbara Dozetos [mailto:[EMAIL PROTECTED] [snip] but because we can't reliably control page breaks, Page-break-after should be supported since IE4.0 (not tested it though) http://www.w3.org/TR/REC-CSS2/page.html#page-break-props P Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help * * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *
Re: [WSG] print headers/footers
I've done that with a header for the print version only, but because we can't reliably control page breaks, I'm lost on how to make sure our logo shows up on each printed page. All is fine if it prints out to only one page, or even two, because I can use both a header and a footer, but the pages in between are left without the logo. Just to reiterate what has been said elsewhere.. There is at least one ActiveX control that provides better access to printing on IE. The actual IE printing engine can be controlled from languages like C++ and C# (and .NET derivatives). The ActiveX controls simple expose this functionality to Javascript. I was interested in the concept of repeating the background image on each page. I am not sure this would work - it may be browser dependent. Looks like I have something to play with today and test :) Part of the problem with printing from a Browser is that it is not meant to be used that way (i.e. - not meant to be used for pixel perfect printing - nor is it ever going to provide pixel perfect layout on the screen for that matter). If you want reliable control over print formatting, then PDF is the only mechanism commonly used. Gary Menzel Web Development Manager IT Operations Brisbane -+- ABN AMRO Morgans Limited Level 29, 123 Eagle Street BRISBANE QLD 4000 PH: 07 333 44 828 FX: 07 3834 0828 To unsubscribe from this email please forward this email to: [EMAIL PROTECTED] If this communication is not intended for you and you are not an authorised recipient of this email you are prohibited by law from dealing with or relying on the email or any file attachments. This prohibition includes reading, printing, copying, re-transmitting, disseminating, storing or in any other way dealing or acting in reliance on the information. If you have received this email in error, we request you contact ABN AMRO Morgans Limited immediately by returning the email to [EMAIL PROTECTED] and destroy the original. We will refund any reasonable costs associated with notifying ABN AMRO Morgans. This email is confidential and may contain privileged client information. ABN AMRO Morgans has taken reasonable steps to ensure the accuracy and integrity of all its communications, including electronic communications, but accepts no liability for materials transmitted. Materials may also be transmitted without the knowledge of ABN AMRO Morgans. ABN AMRO Morgans Limited its directors and employees do not accept liability for the results of any actions taken or not on the basis of the information in this report. ABN AMRO Morgans Limited and its associates hold or may hold securities in the companies/trusts mentioned herein. Any recommendation is made on the basis of our research of the investment and may not suit the specific requirements of clients. Assessments of suitability to an individual?s portfolio can only be made after an examination of the particular client?s investments, financial circumstances and requirements. ABN AMRO Morgans Limited (ABN 49 010 669 726 AFSL 235410) A Participant of ASX Group * The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help *