Jump to content

tengkie

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

tengkie's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. yeah, it think printed media does not support any absolute or fixed position from CSS. I'll try using table... Thanks for your kind help.
  2. First, how do you store the time record in database? - using mktime (e.g: 1267117200) - 24 hours format (e.g: 10:01 or 19:04), or - 12 hours format (e.g: 04:12 am or 02:00 pm)
  3. Actually, all your suggestion works fine when I open the page in browser (as HTML). But, the real problem begins when I save it as PDF or print it to printer. The footer will overlapped with the last row on the first page (in case it needs more than one page to be printed).
  4. I tried your method and duplicate body content into a very long contents. When I print it as PDF files, i only get a single PDF page. It supposed to be about 3 or 4 pages. The others are missing. Anyway, thanks again for helping me.
  5. I don't get it... Could you describe it with codes? Coz i have no idea about your explanation. Thx for helping.
  6. that's not what I meant. here is my situation: I have a dynamic page generated thru PHP + MySQL. When I print this page, sometimes it needs only a single A4 paper size and sometimes it needs 2,3 or more papers. The problem is, I made a page footer that stick to the bottom of the page using CSS. It works fine when I only print 1 page, the footer stick to the bottom of the page (that I printed). But, when my page contains more than 1 page, the footer will be printed on every single page and overlapped with the text on that page. What I want is the footer only printed on the bottom of the last page that I print. Any solution? Hint? Hack? Anyway, thanks for helping.
  7. Did that already before, but still facing same problem. the footer stuck at page one instead of at bottom of last pages that I printed or converted to PDF. Anyway, thanks for helping.
  8. I'm being able to print a HTML page to either PDF or MS Word. For the page footer, i'm using a CSS that set the page footer at the bottom of the page. It only works for 1 page only. If i'm printing more than 1 pages, the footer will overlapped with data from first page. How do i managed to set the page footer only printed at the bottom of the last page? Here is my code: <style type="text/css"> .footer { position: absolute; bottom: 0px; left: 0px; width: 100%; } </style> <div class="body"> some page content..... ........... .......... ......... some page content.... </div> <div class="footer"> some footer notes...... </div> with those codes, the page footer will only shown at the first page and it will overlapped with body content. Any idea how to make my footer only printed at the bottom of the last pages (if my document contains more than one pages)? Thanks for your kind help.
  9. I'm working on PHP Math for my assignment, and it requires a graph to show the functions. But, i have no idea how to build a x-y-z (3D) graph.... All codes that i have search only for 2-dimensional (x-y axis) only.. Is there any help or solutions to make a 3-dimensional graph using PHP or Javascript? thank you before
  10. thanks for the reply.. I'll try this code...
  11. Hi, i do really need help with file.. Let say i have a config.php: <?//config.php $firstline = [XCONFIG_FIRST]; $secondline = [XCONFIG_SECOND]; $thirdline = [XCONFIG_THIRD]; ?> And I have other php script (this contains forms, called it replace.php) which I will use it for change all values from config.php. This script will change the [XCONFIG_FIRST]; [XCONFIG_SECOND] & [XCONFIG_THIRD] with other value that I set from replace.php. <!-- replace.php --> <form method="post" action="something.php"> XConfig First : <input type="text" name="xcon_first" value=""><br/> XConfig Second : <input type="text" name="xcon_second" value=""><br/> XConfig Third : <input type="text" name="xcon_third" value=""><br/> <input type="submit" value="Replace All"> </form> All values submitted from replace.php will replace [XCONFIG_FIRST] and so on from config.php Is there any ways to do it? Thank you so much for your kind help.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.