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
Put the form tags outside the table. If you're not sure, check the page using validator. If you have rendering problems, preview the page for sure -- the Dreaweaver has some bad days too.
It is perfectly legal to nest a form within a table or a table within a form. If Dreamweaver is telling you otherwise, it's sadly mistaken. <soapbox>This is one of the reasons that I'd rather die than let some wysiwyg program like DW generate code for me. But that's just me.</soapbox>. That said, have you investigated the use of CSS for applying padding and margins rather than resorting to tables? This would vastly simplify your markup. hth, bear