A really simple problems with forms

S

Simon Harvey

Hi there,

I'm having a problem with designing a very small form in Dreamweaver. Its
just a login form with username and password textfields - the usual.

The problem I am having is that in order to make the textfields sit right
(they were too close before - touching ) I have had to make a layout TABLE
and put a number of layout cells in. That works fine in terms of layout but
I'm having problems knowing where to put the form tags. I thought I could
put them outside the layout table (or just inside) and I thought thats what
I had done, but dreamweaver told me that some tages were outside a table and
that they may be deleted.

Can anyone say if I'm doing the right sort of idea generally, and if so,
where would the best place to putthe form tags be?

Many thanks

Simon
 
D

David Dorward

Simon said:
The problem I am having is that in order to make the textfields sit right
(they were too close before - touching ) I have had to make a layout TABLE

Err - that seems very unlikely.

What is wrong with giving the input elements a margin on one for more sides?
 
S

Simon Harvey

David Dorward said:
TABLE

Err - that seems very unlikely.

What is wrong with giving the input elements a margin on one for more sides?


--
David Dorward http://david.us-lot.org/
Redesign in progress: http://stone.thecoreworlds.net/
Microsoft announces IE is dead (so upgrade):
http://minutillo.com/steve/weblog/2003/5/30/microsoft-announces-ie-is-dead


Hi David,

Thanks for your post. What is it you think is unlikely? I had thought about
using the margin option, but I was just thinking, well, there probably will
be situations where I want to make a complicated form by using layout tables
etc (in dreamweaver) so I could really do with knowing if its possible to
have form tags surrounding the largest layout table. I just have a funny
feeling that it is possible, largely because I cant see any reason why it
shouldnt be allowed.

Any thoughts on the matter would be great. How does everyone else make
decent/complex forms?

Many thanks

Simon
 
K

Kris

Simon Harvey said:
Any thoughts on the matter would be great. How does everyone else make
decent/complex forms?

With structural markup, CSS and a few tricks from the bag to make up
for IE/Win (as usual) and a bug in an older version of Mozilla.
(dissapearing LABEL when positioned with CSS)
<URL:http://www.joukedevries.nl/contact/>
 
D

Dan Brussee

With structural markup, CSS and a few tricks from the bag to make up
for IE/Win (as usual) and a bug in an older version of Mozilla.
(dissapearing LABEL when positioned with CSS)
<URL:http://www.joukedevries.nl/contact/>

Well, not EVERYONE does it this way. I have been and still am quite
comfortable using a table for layout. Yes, I know tables are for
"tabular data", but we are using web pages for much more than they were
originally intended to be used for I would guess, so - if it works, do
it.

You should definitely be able to put form tags outside a table. I
usually put the form tags outside as in...

<form name="frmX" action="blah.asp">
<table>
<tr>
<td>Username: </td>
<td><input name="un" type="text" value="" /></td>
</tr>
<tr>
<td>Password: </td>
<td><input name="pw" type="password" value="" /></td>
</tr>
</table>
</form>
 

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
474,075
Messages
2,570,562
Members
47,197
Latest member
NDTShavonn

Latest Threads

Top