How to put an image next to each other

前端 未结 5 1894
醉话见心
醉话见心 2021-01-01 15:51

I\'m trying to put these two \'hyperlinked\' icons next to each other but I can\'t seem to do that. As you can see, the twitter icon falls to the next line.. (they are both

5条回答
  •  旧巷少年郎
    2021-01-01 16:28

    Check this out. Just use float and get rid of relative.

    http://jsfiddle.net/JhpRk/

    #icons{float:left;}
    

提交回复
热议问题