[Kss-devel] how to remove focus from text <input>?

Brandon Craig Rhodes brandon at rhodesmill.org
Wed Apr 16 03:21:02 CEST 2008


Godefroid Chapelle <gotcha at bubblenet.be> writes:

> Brandon Craig Rhodes wrote:

>> I have an app with a text field that ... I hide with an appropriate
>> adjustment of the form's class.
>
> I do not know your use case, however, I suspect the idea of hiding
> the form instead of removing it is daft.

But if I remove the form, then the page is disrupted by everything
having to be laid out again, and everything on the page moves around.
Whereas, if I simply hide the form, then everything on the page stays
where it is.  Are there techniques for keeping a page stable when
removing a large element like a form?

-- 
Brandon Craig Rhodes   brandon at rhodesmill.org   http://rhodesmill.org/brandon



More information about the Kss-devel mailing list