It is as if the old "double margin on floats" was kicking in, but there are no floats in this layout! And it only affects the INPUT, not text or a SELECT within the same DIV...
I would really need some pointers on how to attack this.
Thanks / Mike
Expand|Select|Wrap|Line Numbers
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
- <html>
- <head>
- <title>inputmargin.html</title>
- </head>
- <body>
- <div style="width: 35em; background-color: blue;">
- <div style="width: 20em; margin-left: 10em; background-color: green;">
- This input gets an extra 10em margin:<br>
- <input type="text">
- <br>
- But this dropdown doesn't:<br>
- <select></select>
- </div>
- </div>
- </body>
- </html>