hello guys,

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

Recommended Answers

To put it in extremely simple terms and in more detail than I could http://www.redmelon.net/tstme/box_model/
Move the perspective slider all the way to the right to make it a bit more clear.

Jump to Post

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 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.