Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,407 members, 7,819,450 topics. Date: Monday, 06 May 2024 at 04:31 PM

How To Use Padding Elements In CSS While Building A Webpage - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / How To Use Padding Elements In CSS While Building A Webpage (217 Views)

Please Tell Me How This Is Done In Css / All You Need To Consider Before Building A Website. / New And Easy Way To Convert Webpage To Pdf Files On Chrome In 2017 (2) (3) (4)

(1) (Reply)

How To Use Padding Elements In CSS While Building A Webpage by ComputerCollege(m): 10:36pm On Jun 22, 2020
Padding is similar to margins in that it adds extra space to elements, but the big difference is where that space is located. If you recall, margins are added to the outside of elements. On the other hand, padding adds space inside the rectangular area of an element. As an example, if you create a style rule for an element that establishes a width of 50 pixels and a height of 30 pixels, and then sets the padding of the rule to 5 pixels, the remaining content area will be 40 pixels by 20 pixels. Also, because the padding of an element appears within the element’s content area, it will assume the same style as the content of the element, including the background color.

Read Full Post here: https://giversland.com/?p=1439

(1) (Reply)

Earn $100+ With Your Blog By Joining This Platform / Linus Torvalds Announces Massive Linux Kernel 5.8 Update / .

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 8
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.