How do I add more space inside and around DIVs on my webpage?

submitted by uklmhb on 09/29/16 1

courses.robobunnyattack.com/courses/step-by-step-html-and-css-for-absolute-beginners How can you add more space inside and around DIVs on your webpage? In this lesson, you'll learn: - What the "box model" is in CSS - How to control the margins around something - How to control the padding inside a DIV - How to apply styles to specific images using #ID selectors in CSS - Some useful shortcuts when specifying margins and padding in CSS By the end of this lesson you'll know how to code: 1. The MARGIN attribute (in CSS, to specify the space surrounding something) 2. The PADDING attribute (in CSS, to specify the space between the border of a DIV and the elements inside) 3. The IMG selector (in CSS, to apply styles to images) ***** This is a sample lesson from the online course "Step-by-step HTML and CSS for Absolute Beginners". Learn how to code HTML5 + CSS3 to create your own website in this beginner-level course. No coding experience required! Enroll today at: courses.robobunnyattack.com/courses/step-by-step-html-and-css-for-absolute-beginners Looking for friendly, practical, jargon-free technology training? Visit my website at: learn.robobunnyattack.com Thanks for watching! - Kathleen, kathleen@robobunnyattack.com PS Thanks to Reverse Grip for letting me use "Raise Your Fist" as the intro/outro music for this video. You ROCK!! reversegriprock.com

Leave a comment

Be the first to comment

Collections with this video
Email
Message
×
Embed video on a website or blog
Width
px
Height
px
×
Join Huzzaz
Start collecting all your favorite videos
×
Log in
Join Huzzaz

facebook login
×
Retrieve username and password
Name
Enter your email address to retrieve your username and password
(Check your spam folder if you don't find it in your inbox)

×