Problem with absolute positioning in Firefox and Chrome

前端 未结 9 2333
傲寒
傲寒 2020-12-14 17:05

I don\'t understand why FF and Chrome render my page differently. Here\'s a screenie of it in

firefox: firefox example http://grab.by/65Bn

and here\'s one i

9条回答
  •  借酒劲吻你
    2020-12-14 17:42

    Instead of using margin use left, top, right, bottom. Example:

    position: absolute; top: 10px; left: 20px;

提交回复
热议问题