I like Internet Explorer. As the web browser I most frequently use, it is safe to say that it is my favourite. But, on occasion, even IE can suffer from the strangest of occurrences.
Sometimes, you see, if the conditions are just right, if the moon is high and the night is clear, IE will condense the very meaning of life into a single word, or two, and place it, or them, seemingly at random, upon your web page.
It started with a select. A simple, average select. There were seven options; one for each of the days of the week. Everything should have gone well. The page was valid XHTML 1.0, at least according to some site with which I tested it. It wasn’t even overly complex. But when opened with Internet Explorer, one was faced with a shocking sight. A string of text was burned into the page below and to the left of the select. A string of text that ominously read: “urday“.
Naturally, assuming myself at fault, I searched the source for that very string whose only occurrence was in the select. Checking the page in IE, once more, I saw that Saturday was listed correctly within the select.
I changed the text between the option tags from Saturday to ‘hihi’, and so too did the mysterious text change.
Upon further investigation, at first by binary-commenting the CSS, I found a number of odd solutions as well as ways to extend the string. If one were to, say, increase the number of hidden inputs in the form, the number of mystery letters would similarly increase.
The solution I made use of, I believe, was inserting a few s after the select field.