Elements apear only after inspect element

后端 未结 2 520
栀梦
栀梦 2021-01-18 05:49

I have just encountered the strangest problem I\'ve ever come across in my humble web developing freelance career. I\'m building a web application for a job application site

相关标签:
2条回答
  • 2021-01-18 06:20

    For me I had to change the visibility of an element that I found hidden above the image in my stylesheet to fix the issue. I found it by using inspect-element. Then after changing it the image moved up obviously so I had to change the margins to change it back to its original position.

    0 讨论(0)
  • 2021-01-18 06:40

    I've found the solution! The problem is caused by an earlier container div which has the CSS display:none. Although I change that with jQuery's .show() before the problem occurs and it's contents are visible, removing display:none in my CSS makes it work! Thanks for all the great help and suggestions!

    0 讨论(0)
提交回复
热议问题