Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > HTML / DHTML

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 05-27-2015, 06:42 AM   #1
yasar
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.
yasar is offline   Reply With Quote

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Explain CSS Box Model? Bates John Programming General 2 10-19-2014 03:18 AM


All times are GMT -7. The time now is 04:30 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.