hello guys,

what is the difference between padding and margin in css? isnt the same thing?

Recommended Answers

All 4 Replies

thanx alot dude :) i owe you :)

Margin is outside the border. Padding is inside the border.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.