views:

40

answers:

1

So what I want is a div what points to an input or a div with contentEditable=true.

So if a click on the div then jumps inside the input.

+4  A: 

You should use a <label>.

If you really want to use a <div>, you'll need to use Javascript, like this:

<div onclick="document.getElementById('ID of input element').focus()">...</div>
SLaks
I really want to use a `<div>` :P, Javascript is fine.
CIRK
Ohh it works perfectly, thanks very much for the fast and working answer!!!
CIRK