- Posts: 3
- Thank you received: 0
valign=middle for input verification
14 years 2 months ago #1694
by Korbin
valign=middle for input verification was created by Korbin
I am trying to center the input field for the verification code vertically. I opened guestbook.php and edited this
to this
or this
but none of it works.
I would appreciate any ideas.
Code:
echo '<tr><td><p><b><font size="2">Verify:</font></b></p></td><td><input type="text" name="txtNumber" size="20" value=""><img src="random.php"></td></tr>';
to this
Code:
echo '<tr valign="middle"><td><p><b><font size="2">Verify:</font></b></p></td><td><input type="text" name="txtNumber" size="20" value=""><img src="random.php"></td></tr>';
or this
Code:
echo '<tr><td><p><b><font size="2">Verify:</font></b></p></td><td valign="middle"><input type="text" name="txtNumber" size="20" value=""><img src="random.php"></td></tr>';
but none of it works.
I would appreciate any ideas.
Please Log in or Create an account to join the conversation.
14 years 2 months ago #1695
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic valign=middle for input verification
Try the following:
Code:
echo '<tr><td valign="center"><p><b><font size="2">Verify:</font></b></p></td><td valign="center"><input type="text" name="txtNumber" size="20" value=""><img src="random.php"></td></tr>';
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
14 years 2 months ago #1696
by Korbin
Replied by Korbin on topic valign=middle for input verification
No, doesn't work, too.
Please Log in or Create an account to join the conversation.
14 years 2 months ago #1697
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic valign=middle for input verification
PM me the URL to your guestbook. I will take a look to see if anything else is preventing it from centering.
Pete
Pete
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
14 years 2 months ago #1698
by Korbin
Replied by Korbin on topic valign=middle for input verification
You can look at yours:
www.digioz.com/guestbook/guestbook.php
I didn't upload it to my domain until now, I am testing it locally.
I didn't upload it to my domain until now, I am testing it locally.
Please Log in or Create an account to join the conversation.
Time to create page: 0.127 seconds