Problem with absolute positioning in Firefox and Chrome

前端 未结 9 2205
傲寒
傲寒 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

    I had a similar problem with a web site and the images in Chrome where wrong. I had the position in an image and an input box in the same way as your example at the beginning of this post, and I solved it by putting the absolute position in the input box and in the image position in relative coordinates.

    When I do that, it changes both positions but puts margins in both. I got it where I want it, to solve this problem with Firefox an Chrome you have to follow some of these tricks in order to put the images in the right place. Play with the position to make it work.

提交回复
热议问题