04-21-2015, 04:59 AM | #1 |
Registered User
Join Date: Apr 2015
Posts: 12
|
Set margin and Padding
how to set margin and padding in div
|
04-22-2015, 05:22 AM | #2 |
Registered User
Join Date: Jun 2014
Posts: 209
|
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.
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
04-22-2015, 05:25 AM | #3 |
Registered User
Join Date: Apr 2015
Posts: 2
|
Great blog! There is lots of good information, not only me but also everyone can understand it easily.
http://austinpoolcleaners.com |
05-27-2015, 06:42 AM | #4 |
Registered User
Join Date: May 2015
Posts: 61
|
margin value Make a space between two div's
padding value make a space inside a div Example : <div class="example"> <span>testing content</span> </div> in Css file .example {margin:10px 10px 10px 10px} .example span {padding : 10px 10px 10px 10px}
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Explain CSS Box Model? | Bates John | Programming General | 2 | 10-19-2014 03:18 AM |