• About

    "WHYYI" is a place to discuss every day occurances that make you say "Why oh Why would someone do that?" Whether it is related to Technology, Business, Sports, Love, Humor or Politics, we seek to discuss these in a fun and entertaining way. You may upload your own questions or comments on Topics. Have Fun! Read more...

    Other Profiles

    Resources

    Admin

  • Posts Tagged ‘Weird IE Display Problem’

    Weird IE Display Problem

    Wednesday, January 14th, 2009

    So we all agree IE has some bugs, and unfortunately every client out there seems to use it (count your lucky stars if they use IE7). By far one of the most annoying is how IE displays margin. The other on my list is the ie png transparency problem. However, there is a fix for this weird IE display problem.

    The fix is fairly simple: display:inline;

    That’s it use display:inline; on your in-line element (images, text) adjacent to a floated div and your good to go. The bug is related to IE’s weird results on floated div’s.

    Weird IE Display Problem with out display:inline;

    Without Display Inline

    Weird IE Display Problem with Display Inline

    With Display Inline

    example with display inline

    example without display inline