
February 7th, 2001, 06:54 PM
|
|
Junior Member
|
|
Join Date: Feb 2001
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Forms trouble
I have noticed that form elements within TABLES can be very buggy across browsers/systems. Things to watch out for are overlapping styles (better to stop and start them, despite what you would think from the title - "Cascading" Style Sheets), styles set in the enclosing structural tags (better to use SPAN within table cells than setting the style in the TD, if there is more than one esp), multiple form elements in same TD, and unclosed form tags.
also, the placement of the opening and closing <FORM ACTION="" METHOD=""> and </FORM> tags can cause bugs. when possible i put these tags first and last, respectively, within the BODY and /BODY tags. often this cannot be done, however, in which case you should make sure they are not inside TABLE elements, but rather in-between them - for example, <TABLE><FORM><TR><TD></TD></TR></FORM></TABLE>. make sure they are symetrically nested.
another thing that causes inconsistent bugs with FORM elements is applying CSS to them directly, such as trying to set the font size within a text input box or some such. it can be done for some browsers/systems, but is buggy and should be checked.
hope this helps
|