+ 37

How to disable scroll in x direction

I referred to the question in discussion section but sadly unable to find the answer to my query, as the solution given by the users didn't worked in my code I tried these methods: ---->body{ overflow-x: hidden; } Solved🎊🎊🎉 Thank you to all for giving your valuable time and helping me😊

21st Sep 2020, 8:31 PM
Demi lune🌙
Demi lune🌙 - avatar
30 odpowiedzi
22nd Sep 2020, 2:37 AM
Sakshi💕
Sakshi💕 - avatar
22nd Sep 2020, 2:28 AM
Prachi The Pari ⭐
Prachi The Pari ⭐ - avatar
+ 19
Mere code me overflow-x: scroll; replace Kar do overflow-x: hidden; Kar do simple jaisa @namit ne Kaha hai
22nd Sep 2020, 2:35 AM
Prachi The Pari ⭐
Prachi The Pari ⭐ - avatar
+ 13
Try this.... body{ overflow-x: hidden; } ~Happy coding
22nd Sep 2020, 1:24 AM
Sakshi💕
Sakshi💕 - avatar
+ 10
Love which works in sololearn
22nd Sep 2020, 1:43 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 10
Try this.... html{ overflow-x: hidden; position:fixed; }
22nd Sep 2020, 2:35 AM
Sakshi💕
Sakshi💕 - avatar
+ 9
🤔 Try overflow-x:hidden; Else: You can dm me in case you can't share your code here, I will help you there!
21st Sep 2020, 8:40 PM
Namit Jain
Namit Jain - avatar
+ 9
*{ overflow-x:hidded; } Try this
22nd Sep 2020, 1:33 AM
Mask Man(What's in a name?)
Mask Man(What's in a name?) - avatar
+ 9
Raj Srivastava nhi hua😥
22nd Sep 2020, 2:16 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 9
ㅤㅤㅤㅤ ɒʞiʜꙅᴎA 🎵🎶 share the code pls in DM or here
22nd Sep 2020, 2:17 AM
Raj Srivastava
Raj Srivastava - avatar
+ 9
Love nhi hua🥺😥
22nd Sep 2020, 2:18 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 9
🎸Prachi The Pari🎸 di mujhe full page ka x direction mein scroll disable krna hai
22nd Sep 2020, 2:30 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 9
ㅤㅤㅤㅤ ɒʞiʜꙅᴎA 🎵🎶 put everything in a div as I have told you earlier also!
22nd Sep 2020, 7:13 AM
Namit Jain
Namit Jain - avatar
+ 8
Matiyas Sirak Namit Jain Sakshi💕 tried but it didn't worked😥😥
22nd Sep 2020, 12:30 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 8
Namit Jain usse 2 alag sections bn jaate hai jisse overlap hota hai😥 Waise ab solve ho gya Thank you very much 😊😊
22nd Sep 2020, 7:15 AM
Demi lune🌙
Demi lune🌙 - avatar
+ 8
ㅤㅤㅤㅤ ɒʞiʜꙅᴎA 🎵🎶 position fixed is the direct soln
28th Sep 2020, 11:20 AM
The INDIAN
The INDIAN - avatar
+ 7
Overflow-x: hidden;
21st Sep 2020, 8:34 PM
Matias
Matias - avatar
+ 7
U shld try overflow-x:hidden
22nd Sep 2020, 1:34 AM
The INDIAN
The INDIAN - avatar
+ 7
Naqab-Posh The INDIAN not working 😥
22nd Sep 2020, 1:37 AM
Demi lune🌙
Demi lune🌙 - avatar