Fri, 2009-10-16 00:29
Can anyone help i'm trying to align a text field to a button with the code below Im not sure what i'm doing wrong and its sooo frustrating! the actual webpage can be seen at http://www.juncgallery.com/emailtest2.htm
If anyone can help i would really apreciate it,
Thanks!!
.submit { vertical-align: middle; *vertical-align: text-bottom; }
Email:
Fri, 2009-10-16 00:34
#1
the code
sorry the code from the last post didnt make it
<STYLE type="text/css"> .submit { vertical-align: middle; *vertical-align: text-bottom; } </STYLE> <form method="post" action="sendmail.php"> Email: <input name="email" clas= "submit" type="text" STYLE="color: #999999; font-family: arial; font-weight: bold; font-size: 12px; background-color: #FFFFFF;" size="10" maxlength="40"/> <input type="image" src="/images/submitimg.gif" width="19" height="19"/> </form>
Fri, 2009-10-16 02:23
#2
In case I wasnt clear I want
In case I wasnt clear I want to align the submit button so that it doesnt sit higher or lower than the text field but is aligned to the middle of the text field.
Fri, 2009-10-16 02:32
#3
MODS: please close this
MODS: please close this thread.
Discussion is here - http://csscreator.com/topic/aligning-text-field-button-0
Fri, 2009-10-16 02:43
#4
Don't create duplicate threads
ignatz2000, please don't create duplicate threads. Thread closed.