jordan
-
difference bitween css left and padding-left
"jitendra" said:plz show the css of those images to understand. The top image would be similar to: .class {left: 10px; top: 10px;} The bottom would be similar to: .class {padding-left: 10px; padding-top: 10px;} The images obviously aren&…
-
difference bitween css left and padding-left
The simplest explanation is that setting the padding affects the size of the element, but not the actual position, whereas setting the offset changes the position, but not the size. Here's a graphic that might help: http://i35.tinypic.com/ipo…