html programming question

Discussion in 'OT Technology' started by Bojangler, Apr 16, 2006.

  1. Bojangler

    Bojangler New Member

    Joined:
    Feb 11, 2005
    Messages:
    5,752
    Likes Received:
    0
    Location:
    Fairfax, VA
    Hey - I'm working on a point of sale project for school and need to program a ticket so that when they print it, at the very bottom of the page there is a signature line. The page size will always be the same. I tried using different combinations of tables, but I can't get the line to go to the bottom of the page even with valign="bottom". Anybody have any ideas for making that line stick to the bottom of the page?
     
  2. kingtoad

    kingtoad OT Supporter

    Joined:
    Sep 2, 2003
    Messages:
    55,922
    Likes Received:
    10
    Location:
    Los Angeles
    PHP:
    <div style="position: fixed; bottom: 0px;">
             <
    p>______________________</p>
    </
    div>
     
  3. Shibboleth

    Shibboleth teh mad Plato skillz

    Joined:
    Sep 29, 2004
    Messages:
    1,769
    Likes Received:
    0
    you could do it the cheap way by just putting in a bunch of <BR>s
    or you could do it the right way
    put all the content in a <div> and set the width to be %100 and the height to x%. You'll have to experiment but try something like 90.
    Then put another dive below that and put the six line in there.
     
  4. Bojangler

    Bojangler New Member

    Joined:
    Feb 11, 2005
    Messages:
    5,752
    Likes Received:
    0
    Location:
    Fairfax, VA
    Thanks! That did the trick.
     

Share This Page