<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>padding Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/padding/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/padding/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Wed, 13 Apr 2022 16:34:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>How to Use Padding Property in CSS?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-use-padding-property-in-css/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-use-padding-property-in-css/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Tue, 03 Aug 2021 12:45:49 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[bottom]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[left]]></category>
		<category><![CDATA[padding]]></category>
		<category><![CDATA[property]]></category>
		<category><![CDATA[Right]]></category>
		<category><![CDATA[Top]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7329</guid>

					<description><![CDATA[<p>Its shorthand padding property It declares all padding properties in one single line. We can set this property to length [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-padding-property-in-css/">How to Use Padding Property in CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Its shorthand padding property It declares all padding properties in one single line. We can set this property to length in the form of %, cm, px etc.</p>



<h3 class="wp-block-heading"><strong>Padding Property</strong>&#8211;</h3>



<ul class="wp-block-list"><li>padding</li><li>padding-left</li><li>padding-right</li><li>padding-top</li><li>padding-bottom</li></ul>



<h3 class="wp-block-heading"><strong>Padding</strong>&#8211;</h3>



<p class="wp-block-paragraph">This property is used to set the padding of specified element.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph"><strong>img { padding: 10px 20px 30px 40px;}</strong></p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="799" height="682" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-9.png" alt="" class="wp-image-7330" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-9.png 799w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-9-300x256.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/08/image-9-768x656.png 768w" sizes="(max-width: 799px) 100vw, 799px" /></figure>



<h3 class="wp-block-heading"><strong>padding-left</strong>&#8211;</h3>



<p class="wp-block-paragraph">This property is used to set left padding of element. We can set this property to length in the form of %, cm, px etc.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph"><strong>img { padding-left: 20%; }<br>h1 { padding-left: 40px; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagramleftpadding.webp" alt=""/></figure>



<h3 class="wp-block-heading"><strong>padding-right</strong>&#8211;</h3>



<p class="wp-block-paragraph">This property is used to set right padding of element. We can set this property to length in the form of %, cm, px etc.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph"><strong>img { padding-right: 20%; }<br>h1 { padding-right: 40px; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagramrightpadding.webp" alt=""/></figure>



<h3 class="wp-block-heading"><strong>padding-top</strong>&#8211;</h3>



<p class="wp-block-paragraph">This property is used to set top padding of element. We can set this property to length in the form of %, cm, px etc. </p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph"><strong>img { padding-top: 20%; }<br>h1 { padding-top: 40px; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagramtopmargin.webp" alt=""/></figure>



<h3 class="wp-block-heading"><strong>padding-bottom</strong>&#8211;</h3>



<p class="wp-block-paragraph">This property is used to set bottom padding of element. We can set this property to length in the form of %, cm, px etc.</p>



<p class="wp-block-paragraph"><strong>Ex: &#8211;</strong></p>



<p class="wp-block-paragraph"><strong>img { padding-bottom: 20%; }<br>h1 { padding-bottom: 40px; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://server2client.com/images/boxmodeldiagrambottompadding.webp" alt=""/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-use-padding-property-in-css/">How to Use Padding Property in CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-use-padding-property-in-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to set Table width, height, color &#038; padding using CSS?</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-set-table-width-height-color-padding-using-css/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-set-table-width-height-color-padding-using-css/#respond</comments>
		
		<dc:creator><![CDATA[rajeshkumar]]></dc:creator>
		<pubDate>Wed, 28 Jul 2021 14:47:42 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[cells]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[height]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[padding]]></category>
		<category><![CDATA[table]]></category>
		<category><![CDATA[width]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=7172</guid>

					<description><![CDATA[<p>Empty-cells This property is used to set whether or not to display borders and background on empty cells in a [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-set-table-width-height-color-padding-using-css/">How to set Table width, height, color &#038; padding using CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Empty-cells</h2>



<p class="wp-block-paragraph">This property is used to set whether or not to display borders and background on empty cells in a table. It will work only if the border-collapse is set to separate. We can set this property to <em>show</em> (default) or <em>hide</em>.</p>



<p class="wp-block-paragraph"><strong>Ex:-</strong></p>



<p class="wp-block-paragraph">table <strong>{ table-layout: fixed; }</strong></p>



<h2 class="wp-block-heading"><strong>How to set Table width and Height</strong>?</h2>



<p class="wp-block-paragraph">We use <em>width</em> and <em>height</em> property to set table width and height.</p>



<p class="wp-block-paragraph">We can also set table heading (th) width and height.</p>



<p class="wp-block-paragraph"><strong>table { width: 100% ;}</strong></p>



<p class="wp-block-paragraph"><strong>th { height: 10px; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://lh3.googleusercontent.com/proxy/UAOzr1XIVZZtUAptuqXkg2sO8178lyTPWJ_gu2z_LKrDON2sBHqplSl0voaF5wIQiaavfzq_wnJ72i4gP0Ocruvf3Kypbxk90OuCpXbo7P09aPoJlQ" alt=""/></figure>



<h2 class="wp-block-heading"><strong>How to set Table Padding</strong>?</h2>



<p class="wp-block-paragraph">This property is used to control the space between the border and the content in a table, this is used on <strong>&lt;td></strong> and <strong>&lt;th></strong> elements.</p>



<p class="wp-block-paragraph"><strong>th, td { padding: 10px; }</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://i.stack.imgur.com/AGuDf.gif" alt=""/></figure>



<h2 class="wp-block-heading"><strong>How to set Table color</strong>?</h2>



<p class="wp-block-paragraph"><strong>table {background-color: pink;}</strong></p>



<figure class="wp-block-image"><img decoding="async" src="https://lh3.googleusercontent.com/proxy/CJ00PfR6BFiSkSJo8UILqkHTzp6dGPIVtgAQYQbmHcWQS1DUyYj1B_FVKsvAwXH0XNQVQ5TZsuNagsnG6VdRJY_6U27oO07dunlRhl0P3SEZZA" alt=""/></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-set-table-width-height-color-padding-using-css/">How to set Table width, height, color &#038; padding using CSS?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-set-table-width-height-color-padding-using-css/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
