How to get display inline to work with IE

Discussion in 'HTML Basics' started by tiyerl, Sep 23, 2011.

  1. tiyerl

    tiyerl New Member

    Hi, just thought i would post this quick fix to get the display inline to work properly for IE 7, usually for firefox all you need to add to the div is:

    display: inline;
    But that doesn't work for IE 7, you must also float it so you will use:

    float: left;
    display: inline;
    Its basic enough, but its handy to know.

Share This Page