Using Selectors API

Using Selectors API

I am studying jQuery. I have implemented an example from the book Beginning Javascript and CSS Development with jQuery, page 32. This is a simple implementation of showing/hiding a <div> that simulates a pop-up window. The code works perfectly with Firefox. IE 6 is not so perfect. When the div is first shown, the border defined in the css only shows along the top of the div and partially and equally down both the left and right sides of the div. After toggling the div hide/show when visible shows the border correctly.