11th Feb 2020, 2:42 AM
Maninder $ingh
Maninder $ingh - avatar
4 Réponses
+ 5
//Your are writing CSS rules wrong ,it is padding: 10px; and auto is not a valid value for padding its for margin and other property 0 auto is in margin
11th Feb 2020, 3:02 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 2
Sudarshan Rai 👑 it means padding cannot be auto. Thanks.
11th Feb 2020, 3:05 AM
Maninder $ingh
Maninder $ingh - avatar
+ 1
Jairo Soto i know this trick but i want to know why padding not working.
11th Feb 2020, 2:55 AM
Maninder $ingh
Maninder $ingh - avatar
0
Use margin 0 auto in the inner
11th Feb 2020, 2:54 AM
Jairo Soto
Jairo Soto - avatar