I know pretty much zip about CSS/JS and I suspect this is really easy, but I just wonder what the best most flexible ways to do it.

How would you create a text box (i'e a box that users can type text into, and that text is held in a variable) which can easily be manipulated on the screen by it's x and y? I come from a games coding background so I used to manipulating things by their .x and .y ! Would this be straight CSS3? or would be better with JQuery?

Thanks for any help.