Simple HTML code

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.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Aug 5th, 2006, 17:08
Junior Member
Join Date: Sep 2005
Location: Beyond the seas there's a town,In hand of each child a branch of insight lies,I shall build a boat.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Simple HTML code

Hello firends ,

A simple HTML Code:
<body>
<form id="form1" name="form1" method="post" action="">
<p>&nbsp;</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>&nbsp;</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
Reply With Quote

  #2 (permalink)  
Old Aug 5th, 2006, 17:47
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: Simple HTML code

Quote:
Originally Posted by abalfazl View Post
I want to change location position of bottom ,how can I do?
The bottom of what? I'm afraid your post doesn't seem to make any sense at the moment.
Reply With Quote
  #3 (permalink)  
Old Aug 26th, 2006, 23:50
Up'n'Coming Member
Join Date: Jun 2006
Location: Northern Ireland, United Kingdom
Age: 22
Posts: 81
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Antwan
Re: Simple HTML code

ditto, the bottom of what
Reply With Quote
  #4 (permalink)  
Old Aug 28th, 2006, 16:51
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,742
Blog Entries: 1
Thanks: 0
Thanked 17 Times in 17 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
Re: Simple HTML code

I am guessing he wants the form to stick at the bottom of the page?
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #5 (permalink)  
Old Sep 4th, 2006, 05:11
Junior Member
Join Date: Sep 2005
Location: Beyond the seas there's a town,In hand of each child a branch of insight lies,I shall build a boat.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
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!
Reply With Quote
  #6 (permalink)  
Old Sep 5th, 2006, 14:03
moojoo's Avatar
Moderator
Join Date: Aug 2005
Location: Texas
Age: 31
Posts: 1,742
Blog Entries: 1
Thanks: 0
Thanked 17 Times in 17 Posts
Send a message via AIM to moojoo Send a message via MSN to moojoo Send a message via Yahoo to moojoo
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?
__________________
The internet is just a fad.
http://www.mevans76.com
Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Reply With Quote
  #7 (permalink)  
Old Sep 5th, 2006, 17:30
Junior Member
Join Date: Sep 2005
Location: Beyond the seas there's a town,In hand of each child a branch of insight lies,I shall build a boat.
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
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!
Reply With Quote
  #8 (permalink)  
Old Sep 5th, 2006, 19:49
Ryan Fait's Avatar
SuperMember

SuperMember
Join Date: May 2006
Location: Las Vegas
Posts: 3,786
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Simple HTML code

JavaScript isn't for styling pages. Use CSS.
Reply With Quote
Reply

Tags
simple, html, code

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 22:50.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43