Please don't say I should have multi line indented coding. My text editor allows deleting & copying a line very easily.
I have narrowed down my problem to the following;
/*1*/<style type="text/css"> .in { position: fixed; width: 100%; left:70%; top: 26%; } </style> /*2*/<style type="text/css"> .sh { position: fixed; width: 100%; left: 40%; top: 26%; } </style> /*3*/ /*4*/<div class="in"> <select name="inout" style="width: 10%; height: 5mm"; > /*5*/<option value="">Select</option> /*6*/<option value="in">In</option> /*7*/<option value="out">Out</option> /*8*/</select></div> /*9*/<div class="sh"> <input type="text" value="" name="shop" style="width: 17%; height: 4mm"; ></div>
Having line 9 after the other lines, the dropdown does not work, but if I place it in line 3 it works OK.
And if I delete line 1 or 2, and leave line 9 where it is, again it works OK.
One might say to move line 9 to line 3 but I don't want that because the above is not really my problem.
I have other div coding which only comes at the end, so I need to find an answer to the above.
Found the problem
I have found the problem but there appears no interest in this subject on the site. There is no provision to delete this post.
Formatting
Please don't say I should have multi line indented coding. My text editor allows deleting & copying a line very easily.
We do appreciate well formatted code. Formatting code doesn't matter to the machine, unless it is a language where format is an element of the syntax e.g. Python. It does matter to the human who tries to read, understand and debug that code.
Were it me, I'd try very hard to make it easier for someone who is offering their time to help.
gary/mod