0

In what elements I can use paddings?

div{paddings:5px;} is that right ?

6th Jun 2018, 9:55 AM
Leonard Wu
Leonard Wu - avatar
3 Answers
+ 1
thanks a lot
6th Jun 2018, 11:00 AM
Leonard Wu
Leonard Wu - avatar
0
Padding is usually needed when we need to add spacing between the text of the element and the its border. eg. a button element.
6th Jun 2018, 10:37 AM
CalviŐ˛
CalviŐ˛ - avatar
0
no it is wrong. the right one is, div{padding:5px;}
13th Jun 2018, 10:47 AM
Yasiru