Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
October 30, 2005, 7:10 pm
rate this thread
<form name="stealthme" action="" onSubmit="return
<input type='password' name='query' size=16>
<form name="searchme" action="" onSubmit="return
<input type='text' name='query' size=16>
to 'hidden' and the visibility of #stealth_form to 'visible'. In
mozilla/firefox there is no visual difference. In IE the #stealth_form
input box is 1 pixel wider, and when the change occurs it catches the
user's eye and looks strange.
Any ideas / workarounds?
Re: Width of text input box vs. password input box
Why the extra block-level element (DIV)? Place the id attribute value on
the FORM, directly.
As you're passing a reference to the form to the submit event listener,
I doubt you need a name attribute.
Rather than absolutely-positioning the FORM and manipulating the
visibility property, position it normally (statically) and change the
Hiding elements via CSS, then expecting a client-side script to be able
to reveal them, is not a good idea (unless you're operating in an
environment where browser usage is known and enforced). Hide the
elements using client-side code.
Have you considered setting the width using CSS, as well as HTML? Though
form controls are in-line, they are replaced elements so the width
property can be applied to them. Around about 9em should do.
Prefix subject with [News] before replying by e-mail.