How to put Elements on specified x,y coordinates ...

J

Jens Kallup

Hello Newsgroup,

how can I put HTMLelements like a entryfield on a webpage?
the following code bellow demonstrate the behavor...
Hello World!
C:\...
form1
----
text text text

but this is not what I want.

Can any one help me, thanks in advance
Jens

<html><head><title>kBASE 0.1</title></head><body><h1>Hello
World!<h1><h3>C:\Program
Files\xampp\htdocs\id\test.prj<h3><h3>form1<h3><hr><input type="text"
name="name" size="25" id="Edit1"><script type="text/javascript">var
Edit1Obj;function Edit1Pos() { dit1Obj=document.getElementById("Edit1");
Edit1Obj.style.left="0px"; Edit1Obj.style.top ="22px";}
Edit1Pos();</script><input type="text" name="name" size="25"
id="Edit1"><script type="text/javascript"> var Edit1Obj;function
Edit1Pos() {
Edit1Obj=document.getElementById("Edit1");Edit1Obj.style.left="32px";Edit1Obj.style.top
="22px";} Edit1Pos(); </script><input type="text" name="name" size="25"
id="Edit1"><script type="text/javascript"> var Edit1Obj;function
Edit1Pos() {
Edit1Obj=document.getElementById("Edit1");Edit1Obj.style.left="32px";Edit1Obj.style.top
="22px";} Edit1Pos(); </script></body></html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top