When I should use Margin and Padding in CSS ?

Marc0

Well-known member
Registered
Joined
Jun 6, 2012
Messages
890
Points
28
It's difficult for me to use padding and margin in Css, are they different ?
Anyone know about When I should use Margin and Padding in CSS and any Tips ?

Thanks
 

Frank

Member
Registered
Joined
Jul 7, 2012
Messages
25
Points
0
Use margin for boxes contain ojeccts ( texts, images..) and using padding for those ojects into boxes
 

unni6849

Member
Registered
Joined
Oct 5, 2012
Messages
16
Points
0
Margin and Padding are important tools in the Dreamweaver.You should add margin in order to centralize the web pages and padding is used to align the text element in the CSS document.
 

leszek

New member
Registered
Joined
Oct 27, 2012
Messages
4
Points
0
here you will find all info that you need

w3schools.com/css/css_margin.asp

w3schools.com/css/css_padding.asp
 

telma

New member
Registered
Joined
Feb 9, 2013
Messages
5
Points
0
Hello..
yes you are right friend.w3school.com is the most easy site where we learn about css.Thank you for the posting.
 
Older Threads
Replies
1
Views
11,173
Replies
3
Views
11,459
Replies
0
Views
114,482
Replies
15
Views
15,514
Newer Threads
Replies
7
Views
12,503
Replies
2
Views
3,514
Replies
1
Views
2,346
Replies
1
Views
2,734
Replies
3
Views
2,580
Latest Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top