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
24
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,375
Replies
3
Views
11,622
Replies
0
Views
118,462
Replies
15
Views
15,804
Newer Threads
Replies
7
Views
12,754
Replies
2
Views
3,726
Replies
1
Views
2,471
Replies
1
Views
2,904
Replies
3
Views
2,718
Latest Threads
Replies
1
Views
23
Replies
0
Views
175
Replies
1
Views
37
Replies
2
Views
81
Recommended Threads
Replies
0
Views
2,351
Replies
11
Views
22,360
Replies
5
Views
6,001

Latest postsNew 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