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

Godefroid Chapelle gotcha at bubblenet.be
Wed Apr 16 08:57:19 CEST 2008


Brandon Craig Rhodes wrote:
> 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?
> 

I am not good enough to understand what the difference is between hiding 
a form and removing it on the browser side.

I guess it is a CSS related problem. IOW, tuning the CSS should allow to 
solve those moves you see...

-- 
Godefroid Chapelle (aka __gotcha) http://bubblenet.be



More information about the Kss-devel mailing list