Results 1 to 7 of 7
  1. #1
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Vertical Placement

    You can delete that long value. And perhaps you should, in case it's personally identifying.

    This approach uses a table, because it is the simplest way to place "middle-aligned" paragraphs side-by-side. I'm sure there are more modern methods, but this is all that panned out in initial testing:

    <code><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <title>Align Text Beside Image</title>
    <style type="text/css">
    table#ppal {border:none;}
    table#ppal td {vertical-align:middle;}
    table#ppal p {margin: 0;}
    </style>
    </head>
    <body>
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <table id="ppal">
    <tr>
    <td>

    Duncan's Dollars</p></td>
    <td>

    <input type="image"
    src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif"
    border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
    </p></td>
    </tr>
    </table>
    <input type="hidden" name="encrypted" value="---LONGVALUE---">
    </form>
    </body>
    </html></code>

  2. #2
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Vertical Placement

    <small>Extremely long string that caused Lounge window to be over 14,000 pixels wide

    <input type="hidden" name="encrypted" value="bizarre value">
    </form>

    The "Duncan's Dollars" aligns with the bottom of the PayPal credit card pic. How can I get it to center (vertically) so that it will appear
    Like:
    ----
    ---
    -----

    "like" that against the left side of the credit card logo?

    Thanks
    Chuck Billow
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  3. #3
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Vertical Placement

    Geez Jefferson:

    I thought I was alone in my late night forays...

    Thanks for the code....

    Regards,
    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  4. #4
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Vertical Placement

    Added:

    BTW: I took out that long value, and it wouldn't go to PayPal... I put it back in, and it worked fine.

    Doesn't make sense, but who the heck am I?

    Regards,
    Chuck

    Jefferson:

    Got it loaded, and it looks a lot better...

    Did I say "Thanks"? Twice never hurts: "Thanks!"

    Regards,
    Chuck Billow
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  5. #5
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Vertical Placement

    Jefferson meant that you should take the long value out of your post, to prevent others from (ab)using it. I replaced it, since it caused the Lounge page to scroll horizontally. But you should still use it on your web page!

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Vertical Placement

    What Hans said. <img src=/S/smile.gif border=0 alt=smile width=15 height=15> Sorry I didn't fully proofread my reply, the post-dessert caffeine was wearing off.

  7. #7
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    Re: Vertical Placement

    Hans/Jefferson:

    That's quite OK, as the page works great thanks to the assist! I couldn't make hide/nor hair of it myself, but then, that ain't saying much....

    Thanks,
    Chuck
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •