+ 3
Overflow:hidden is not working(body)[solved]
I just declared overflow:hidden in body tag but it not working. It works in PC not in mobile phones why? https://code.sololearn.com/WcqBIG3jOBNB/?ref=app If you have PC you can see the same code it works. Thanks in advance🙏
10 Answers
+ 3
Just solved, thanks rkk for giving your precious time🙏
+ 3
ᴉsɯ@ʌ🙃🙃 what changes you make?
+ 2
ᴉsɯ@ʌ🙃🙃 no worries. 😇
+ 1
overflow-x: hidden;
+ 1
I just added another div tag made it position:absolute and overflow:hidden it works. I seen in previous questions, I forgot to use searchbar sorry😔rkk
+ 1
🙏👍🤗
0
rkk no it doesn't works, I have already tried.
0
I think this is the problem
In this code if p is not absolute is will hidden.
But when you absolute the position of p tag it will not remain hidden.
Note :
If you make the position relative of div#box p tag will again will be hidden.
https://code.sololearn.com/WEdAoCPh07Kj/?ref=app
Please check this condition in your code if any...
0
Thanks Divya Mohan now I got it