<?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>cells Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/cells/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/cells/</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 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>
