Re: OT: Forcing a header when printing web pages

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 46435
interpreted = N
texte = Nevermind, the visibility=hidden was working, I just wasn't hiding all the rows (it's a multi-row header). Duh.Thanks, GK | No, it just sends send a page-break to the printer and doesn't affect the | display of the code on screen. My layout currently is like: | | | | [founditems] | | | | [/founditems] |
column 1column 2
rest of results loop... |
| | The page break thingie needs to go inside the founditems, so I can't move it | to the TR with the headers, and of course moving the founditems up there | displays the header before each record. It's going to take some kind of | javascript or CSS style or something. | | I've played with moving a copy of the header row beneath the row with the | page-break and hiding it with a showif: | | | | [showif [BG]=T] | | etc... | [/showif] | | Then the founditems loop, but the style isn't hiding the header row on the | web page display but it does work for the printing. Might have to live with | that. Unless someone can point out where my style=visibility:hidden is | flawed. | | GK | | | on 12/19/02 11:13 AM, Gary Krockover at gary@garykrockover.com so noted... | | | | > I have my database output screen that inserts a page break between | accounts | | > so that each account is printed on it's own page: | | > | | > | | > | | > If the origid (previous ID) is not equal to the next line then insert | the | | > break. Easy stuff and working just fine. Anyways, I would like the | column | | > header to print at the top of each page where the page break is for | obvious | | > reasons, so that each page will see what the column headers are. | | > | | > Does anybody have any ideas? Doing a google for headers, web, | printing as | | > you can imagine turns up tons of stuff, nothing useful yet.... | | | | Haven't tested (printer is tied up making inserts for a friend's piano CD | | Christmas project) and don't know if you tried this one, but is | | page-break-before smart enough to recognize HTML table headers and act | | accordingly? | | | | | | | | [looped WebDNA that makes the table] | |
column 1column 2
| | | | | | Rob Marquardt | | Designer/Resident Wirehead | | Toast Design | | | | 800 Washington Avenue North | | Minneapolis MN 55401 | | 612.330.9863 v | | 612.321.9424 f | | www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: OT: Forcing a header when printing web pages (Gary Krockover 2002)
  2. Re: OT: Forcing a header when printing web pages (Michael Davis 2002)
  3. Re: OT: Forcing a header when printing web pages (Gary Krockover 2002)
  4. Re: OT: Forcing a header when printing web pages (Gary Krockover 2002)
  5. Re: OT: Forcing a header when printing web pages (Rob Marquardt 2002)
  6. OT: Forcing a header when printing web pages (Gary Krockover 2002)
Nevermind, the visibility=hidden was working, I just wasn't hiding all the rows (it's a multi-row header). Duh.Thanks, GK | No, it just sends send a page-break to the printer and doesn't affect the | display of the code on screen. My layout currently is like: | | | | [founditems] | | | | [/founditems] |
column 1column 2
rest of results loop... |
| | The page break thingie needs to go inside the founditems, so I can't move it | to the TR with the headers, and of course moving the founditems up there | displays the header before each record. It's going to take some kind of | javascript or CSS style or something. | | I've played with moving a copy of the header row beneath the row with the | page-break and hiding it with a showif: | | | | [showif [BG]=T] | | etc... | [/showif] | | Then the founditems loop, but the style isn't hiding the header row on the | web page display but it does work for the printing. Might have to live with | that. Unless someone can point out where my style=visibility:hidden is | flawed. | | GK | | | on 12/19/02 11:13 AM, Gary Krockover at gary@garykrockover.com so noted... | | | | > I have my database output screen that inserts a page break between | accounts | | > so that each account is printed on it's own page: | | > | | > | | > | | > If the origid (previous ID) is not equal to the next line then insert | the | | > break. Easy stuff and working just fine. Anyways, I would like the | column | | > header to print at the top of each page where the page break is for | obvious | | > reasons, so that each page will see what the column headers are. | | > | | > Does anybody have any ideas? Doing a google for headers, web, | printing as | | > you can imagine turns up tons of stuff, nothing useful yet.... | | | | Haven't tested (printer is tied up making inserts for a friend's piano CD | | Christmas project) and don't know if you tried this one, but is | | page-break-before smart enough to recognize HTML table headers and act | | accordingly? | | | | | | | | [looped WebDNA that makes the table] | |
column 1column 2
| | | | | | Rob Marquardt | | Designer/Resident Wirehead | | Toast Design | | | | 800 Washington Avenue North | | Minneapolis MN 55401 | | 612.330.9863 v | | 612.321.9424 f | | www.toastdesign.com ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Gary Krockover

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Help! WebCat install problems... (2000) [WebDNA] Triggers issue, or sendmail? (2012) RE: storefront (1998) WebCatalog on G3 Macs? (1997) Webcatalog, Webstar and Crasharama (1999) Can this be done? (1997) ACGI processing for .html (1997) Creating a webcounter - for another site (2000) SiteEdit NewFile.html ? (1997) [WebDNA] TCPConnect assist (2016) Link with [cart] in db field (1999) emailer on Windows Beta 18 (1997) Emailer Error 550 (Was Strange Crash) (1998) Multiple Users.db Possible? (1997) My new discussion forum (2003) On a related topic (2006) RE: Need Help (1998) Is this possible, WebCat2.0 and checkboxes (1997) Fwd: Problems with Webcatalog Plug-in (1997) Couple of questions (1999)