align form elements

I had a brief hard time trying to align a few form elements
, e.g., “text” input, text label and “image” input. The following code will roughly do the work:

<!– sample code–>

<form action=”” id=”srchNameFrm” onsubmit=”return false;”>
<div class=”labellit”>Find alderman by name:</div>
<input type=”text” size=”25″ height=”22″ name=”alname” id =”alNameTxt” value=”” onFocus=”toggleAddrFeedback(false);” />
<input alt=”submit” type=”image” src=”images/go_btn41x18.gif” width=”41″ height=”18″ border=”0″ align=”top” value=”Go!” />


One Response to “align form elements”

  1. Uli Says:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: