![]() |
Set margin and Padding
how to set margin and padding in div
|
margin will set your div position in page content and padding will give inside div space or inside text or other things of div.
i-e: margin:top right bottom left;(margin:10px 10px 10px 10px;). padding:top right bottom left;(padding:10px 10px 10px 10px;). |
Great blog! There is lots of good information, not only me but also everyone can understand it easily.
http://austinpoolcleaners.com |
margin value Make a space between two div's
padding value make a space inside a div Example : testing content in Css file .example {margin:10px 10px 10px 10px} .example span {padding : 10px 10px 10px 10px} |
All times are GMT -7. The time now is 05:17 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.