IE form field madness

This totally drove me nuts!

Cut/Paste this code:

<div id="banner">
   <ul>
      <li><a href="#">My account</a></li>
      <li><a href="#">Order status</a></li>
      <li><a href="#">Wish list</a></li>
      <li><a href="#">My cart</li>
   </ul>
</div>

<form>
   <input type="text" size="20" name="whatever">
</form>

Then open it up in IE. Type something into the input box and then try to select your text. Good gravy!

Moral of the story - close your <a> tags (the last LI is missing a </a>). Did you see it? I didn't. For a few minutes, I thought I was going to totally flip out.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)

Psykel blog uses BlogCFC (by Raymond Camden). Layout design inspired by arcsin