Jump to content

Positioning text near an HTML form


WarKirby

Recommended Posts

Hi folks.

We're having a seemingly minor problem with a bit of text positioning:

http://roshni.org.uk/Backup/Get%20Involved/Donation

 

See the central box.

The £ sign is floating above the box, when we want it to be on the left. For some reason the input box is determined to be on a line alone.

 

The relevant code is:

<div id="donationform2">
            <form method="post" action="https://www.paypal.com/cgi-bin/webscr">
                <p align="center"><input type="hidden" name="cmd" value="_xclick-subscriptions" /> <input type="hidden" name="business" value="ali@roshni.org.uk" />£<input name="a3" size="15"/><input type="hidden" name="p3" value="12" /> <input type="hidden" name="t3" value="M" /> <input type="hidden" name="currency_code" value="GBP" /> <input type="hidden" name="ls" value="AU" /> <input type="hidden" name="return" value="http://net.tutsplus.com/payment-complete/" /> <br /><br /><input border="0" alt="PayPal - The safer, easier way to pay
                online." src="https://www.paypal.com/en_US/GB/i/btn/btn_donateCC_LG.gif" type="image" name="submit" /> </p>
            </form>
            </div>

 

And our CSS for this div:

div#donationform2
{
position:relative;
top:0px;
left:50px;
width: 35px;
}

 

I've poked at it for a bit, but I can't seem to figure out the issue. I've tried adjusting the size of the text box, but the £ sign doesn't move down into the space that creates.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.