How to remove whitespace that appears after relative positioning an element with CSS

前端 未结 8 705
你的背包
你的背包 2020-12-08 02:33

The problem occurs is the following: After relative positioning an element with CSS I get a white-space of where the element was... I don\'t want the white-space!

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-08 03:15

    This did not work for me, having 4 separate interlocked by each other's relative positions. I could not get it working, even adding and repositioning each one:

    Currently, this is optimized (see http://christ.eye-of-revelation.org/index.html 2nd page) but in all cases they are used to highlight an area of the image according to the media or window size…

    The solution was global and much more easy; it was also used for two separate blocks to simulate and swap the two pages: all problems are solved defining in width and height a area, and just setting its style = "overflow:hidden;"

    Hope this can help.

提交回复
热议问题