Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<input type='image'> doesn't align

Status
Not open for further replies.

simonchristieis

Programmer
Jan 10, 2002
1,144
GB

I am using an image to submit a page - i have removed all spacing etc and classes - but it wont line up - has anyone encountered this b4 ?

<TABLE width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;3&quot; Border=&quot;1&quot;>
<%if Len(Request.Querystring(&quot;eventSearch&quot;))>0 Then%>
<form action=&quot;default.asp&quot; method=&quot;get&quot;>
<tr>
<td>&nbsp;SEARCH&nbsp;
<input type=&quot;hidden&quot; name=&quot;page&quot; value=&quot;6&quot;>
<input type=&quot;text&quot; name=&quot;eventSearch&quot; value=&quot;<%=eventSearch%>&quot; >
<input border=&quot;0&quot; type=image src=&quot;/plc/images/search_button2.gif&quot; width=120 height=25 valign=&quot;bottom&quot;>
</td></tr></form><%
End If
%></TABLE>
 
Where do you want the image to be aligned? If you want it to be aligned on the bottom, you need to specify the valign property in the <td> tag.
 
that still will not work... the only thing I have found is to put the various form elements into different cells

[conehead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top