![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
It is like making a casserole really, anything goes eh? Precisely! And if, on occasions, you make a mistake (as my mother frequently did), and the result is tastier, that becomes your new recipe! http://www.swiftys.org.uk/wiz?106 Perhaps next time I'll say "Add a soupçon of closing tags" :-) Remember, the only "standard" that I'm designing to (in my commercial activity, at least) is "Must work in IE6 and the current Firefox", so pragmatic design outweighs hypothetical stuff. So the <FORM> tag goes (a) where it works, and (b) where it causes none of my target audience to get weird effects, then I move on to something else. |
#12
| |||
| |||
|
|
It is like making a casserole really, anything goes eh? Precisely! And if, on occasions, you make a mistake (as my mother frequently did), and the result is tastier, that becomes your new recipe! http://www.swiftys.org.uk/wiz?106 Perhaps next time I'll say "Add a soupçon of closing tags" :-) Remember, the only "standard" that I'm designing to (in my commercial activity, at least) is "Must work in IE6 and the current Firefox", so pragmatic design outweighs hypothetical stuff. So the <FORM> tag goes (a) where it works, and (b) where it causes none of my target audience to get weird effects, then I move on to something else. As far as Microsoft and the Firefox developers are concerned, I should imagine one of their highest priorities is "Mustn't screw up legacy pages with new releases otherwise the customers will switch to the competition" so I'm happy they're looking after me. |
#13
| |||
| |||
|
|
It is like making a casserole really, anything goes eh? Precisely! And if, on occasions, you make a mistake (as my mother frequently did), and the result is tastier, that becomes your new recipe! http://www.swiftys.org.uk/wiz?106 Perhaps next time I'll say "Add a soupçon of closing tags" :-) Remember, the only "standard" that I'm designing to (in my commercial activity, at least) is "Must work in IE6 and the current Firefox", so pragmatic design outweighs hypothetical stuff. So the <FORM> tag goes (a) where it works, and (b) where it causes none of my target audience to get weird effects, then I move on to something else. |
|
As far as Microsoft and the Firefox developers are concerned, I should imagine one of their highest priorities is "Mustn't screw up legacy pages with new releases otherwise the customers will switch to the competition" so I'm happy they're looking after me. |
#14
| |||
| |||
|
|
The page is basically what you presented earlier, a couple of invalid tables like: table form action='dumpdom.html' method=get tr><td input type=text name=textfield input type=submit name=subbutton /td></tr /form /table Use IE first. You will see that the (generated) <tbody> is a child of the form> and so the input elements are also decendents of the form. So everything "works as expected". IE has ignored your error. However now use FF. You will see that the <tbody> is now not a child of the form. In fact the form has been "closed" before the <tbody>. The input elements are no longer decendants of the <form>. FF has "corrected" your error. The fact that the "forms" are actually submitted is quite strange. FF must be internally keeping some alternate representation of the page to cater for just this error. |
|
It is, after all, a quite common one. |
#15
| |||
| |||
|
|
On Fri, 19 Oct 2007 07:18:26 GMT, "rf" <rf (AT) invalid (DOT) com> wrote: Bite Bite :-) Comments on the below? I see that IE and FF count the children differently, but is it invalid ? form id=form1 action='dumpdom.html' method=get table tr><td input type=text name=textfield1 input type=submit name=subbutton1 button onclick='childcount()'>count</button /td></tr /table /form |
#16
| |||
| |||
|
|
On Fri, 19 Oct 2007 07:18:26 GMT, "rf" <rf (AT) invalid (DOT) com> wrote: Bite Bite :-) Comments on the below? I see that IE and FF count the children differently, but is it invalid ? |
|
form id=form1 action='dumpdom.html' method=get table tr><td input type=text name=textfield1 input type=submit name=subbutton1 button onclick='childcount()'>count</button /td></tr /table /form |
#17
| |||
| |||
|
#18
| |||
| |||
|
|
Place the closing '</form>' at the bottom of your web page just before the '</body>' tag |
#19
| ||||
| ||||
|
|
It is like making a casserole really, anything goes eh? Precisely! And if, on occasions, you make a mistake (as my mother frequently did), and the result is tastier, that becomes your new recipe! http://www.swiftys.org.uk/wiz?106 |
|
Remember, the only "standard" that I'm designing to (in my commercial activity, at least) is "Must work in IE6 and the current Firefox" |
|
As far as Microsoft and the Firefox developers are concerned, I should imagine one of their highest priorities is "Mustn't screw up legacy pages with new releases otherwise the customers will switch to the competition" |
|
so I'm happy they're looking after me. |
#20
| |||
| |||
|
|
On Thu, 25 Oct 2007 00:12:44 +0200, "André Gillibert" tabkanDELETETHISnaz (AT) yahodeletethato (DOT) fr> wrote: Overall, you're specifically the type of guy who slow down the standardization of browsers, increase the number of patches and hacks in browsers, destroy the Web's openness by preventing alternative browsers from having any chance of displaying your cr*p, breaks the Web from user point of view by displaying stupid messages Wow, he had all that effect just by posting a web page with misplaced form tags? That's some serious power! |
![]() |
| Thread Tools | |
| Display Modes | |
| |