What’s weird is that when I move the float from the image to the anchor and then switch the order of the anchor with the image in my HTML, the anchor now properly floats left and the image displays to its right. Here’s the code:
Why is this? Since they both have the same width and height and are both block-level elements, shouldn’t they behave the same way? Or is there some hidden property that distinguishes a tags and img tags, or elements with background images or otherwise?