This is a discussion on "Simple HTML code" within the JavaScript Forum section. This forum, and the thread "Simple HTML code are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Simple HTML code
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Simple HTML code
Hello firends ,
A simple HTML Code: <body> <form id="form1" name="form1" method="post" action=""> <p> </p> <p> <label>input1 <input type="text" name="textfield" /> </label> </p> <p> <label>input2 <input type="text" name="textfield2" /> </label> </p> <p> <label> <input type="submit" name="Submit" value="Submit" /> </label> </p> <p> </p> </form> I have this code I want to change location position of bottom ,how can I do? which tag do that? Generally image we are working on form,or table... I want to change position of element how can we do that?May you give me example by different language?(How by CSS,How by DOM,By javascript)and comparethem to each other? I want to know the manner in these three language Thanks |
|
|
|
|||
|
Re: Simple HTML code
The bottom of what? I'm afraid your post doesn't seem to make any sense at the moment.
|
|
|||
|
Re: Simple HTML code
ditto, the bottom of what
|
|
||||
|
Re: Simple HTML code
I am guessing he wants the form to stick at the bottom of the page?
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: Simple HTML code
Hello firends
This botton: <label> <input type="submit" name="Submit" value="Submit" /> </label> Thanks in advance ,And another question,We have syle object in javascript in order to change something about elements of the page,May you give me example how to change position of elements by that in page? And how to arrange different elements side by side? GOOD LUCK! |
|
||||
|
Re: Simple HTML code
1. Label tags need a "for=" to specify what the label applies to.
<label for="Submit"> 2. What exactly are you trying to accomplish?
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
|
|
|||
|
Re: Simple HTML code
Hello firend
I mean that If I want position of that botton be 20 cm from top of the from or 10 cm from left of the form,how can I do that by javascript? GOOD LUCK! |
![]() |
| Tags |
| simple, html, code |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A new simple way to make a image slider- Javascript Code | o0DarkEvil0o | JavaScript Forum | 1 | May 20th, 2008 01:37 |
| [SOLVED] Simple Php Code Problem | longstand | PHP Forum | 3 | Oct 17th, 2007 21:02 |
| simple movie code - CLASSID question | siouxb | Web Page Design | 5 | Oct 15th, 2007 10:28 |
| Code this simple page | MetallicWarfare | Job Opportunities | 0 | Aug 4th, 2007 15:52 |
| Simple CGI code needed -urgently- (pleeaasee) | coffee | Other Programming Languages | 1 | Aug 16th, 2006 10:48 |