I think what Patrick is trying to say is you should us a "submit" button to 
add some 'action' to your form. Currently it won't do anything unless you 
add some JavaScript.

This will also further separate your "content" from "presentation" by moving 
the styled image to your CSS (as a background-attachment on the 'submit' 
button).

You should also move the height and alignment to your CSS.

Rowan Walker

----- Original Message ----- 
From: "Kvnmcwebn" <[EMAIL PROTECTED]>
To: <wsg@webstandardsgroup.org>
Sent: Sunday, May 15, 2005 11:57 AM
Subject: Re: [WSG] search field image alignment



|
| Also Patrick-
|   "Incidentally: why do you wrap the form elements in a span with class
|    Form? What's wrong with *actually* using a FORM element? Or did you 
plan
|    to have the go button submit via javascript (bad idea)?"
|
| Im just trying to get the front end looking right before i pass it on to 
the
| asp programmer so im not handling any of the forms functionality. It didnt
| occur to me to use the actual form element.
|
| thanks a million
|
|
|
| <form class="topsearch">Search
|               <input type="text" name="textfield" />
|            <input type="image" class="fimg" src="fireworks/go2.gif"
| alt="GO" align="middle" height="22">
|  </form> 

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to