<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=CSS%2FC4%2FMulti-column-Layout-in-CSS%2FEnglish</id>
		<title>CSS/C4/Multi-column-Layout-in-CSS/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=CSS%2FC4%2FMulti-column-Layout-in-CSS%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSS/C4/Multi-column-Layout-in-CSS/English&amp;action=history"/>
		<updated>2026-05-02T15:34:33Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=CSS/C4/Multi-column-Layout-in-CSS/English&amp;diff=54657&amp;oldid=prev</id>
		<title>Nancyvarkey at 19:07, 8 January 2021</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSS/C4/Multi-column-Layout-in-CSS/English&amp;diff=54657&amp;oldid=prev"/>
				<updated>2021-01-08T19:07:30Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 19:07, 8 January 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 454:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 454:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#160; | Inside the '''h1''' tag, next to the '''text-align '''property''' ''', type the''' '''code''' '''as shown.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#160; | Inside the '''h1''' tag, next to the '''text-align '''property''' ''', type the''' '''code''' '''as shown.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I have '''set''' the '''column-span '''to all.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I have '''set''' the '''column-span '''to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;all&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#160; | Press Ctrl + S&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#160; | Press Ctrl + S&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=CSS/C4/Multi-column-Layout-in-CSS/English&amp;diff=54639&amp;oldid=prev</id>
		<title>Nehasolanki: Created page with &quot;'''Title of the script: '''Multi-column Layout in CSS  '''Author:''' Neha Solanki  '''Domain Reviewer: '''Ankita Maske, Om Prakash Soni  '''Novice Reviewer:''' Madhuri Ganapat...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSS/C4/Multi-column-Layout-in-CSS/English&amp;diff=54639&amp;oldid=prev"/>
				<updated>2021-01-06T02:22:39Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Title of the script: &amp;#039;&amp;#039;&amp;#039;Multi-column Layout in CSS  &amp;#039;&amp;#039;&amp;#039;Author:&amp;#039;&amp;#039;&amp;#039; Neha Solanki  &amp;#039;&amp;#039;&amp;#039;Domain Reviewer: &amp;#039;&amp;#039;&amp;#039;Ankita Maske, Om Prakash Soni  &amp;#039;&amp;#039;&amp;#039;Novice Reviewer:&amp;#039;&amp;#039;&amp;#039; Madhuri Ganapat...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Title of the script: '''Multi-column Layout in CSS&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Neha Solanki&lt;br /&gt;
&lt;br /&gt;
'''Domain Reviewer: '''Ankita Maske, Om Prakash Soni&lt;br /&gt;
&lt;br /&gt;
'''Novice Reviewer:''' Madhuri Ganapathi&lt;br /&gt;
&lt;br /&gt;
'''Keywords: '''CSS, HTML, Web Page, Web Design, Web Technology, Video Tutorial, Spoken Tutorial, Multi-column Layout, CSS Column, column-count, column-width, column-gap, column-rule-style, column-rule-width, column-rule-color, column-rule, column-span&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|  | '''Visual Cue'''&lt;br /&gt;
|  | '''Narration'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Title&lt;br /&gt;
|  | Welcome to the spoken tutorial on “'''Multi-column Layout in CSS'''” &lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Learning Objectives&lt;br /&gt;
|  | In this tutorial we will learn:&lt;br /&gt;
&lt;br /&gt;
* How to create a '''Multi-column Layout '''in''' CSS'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: &lt;br /&gt;
&lt;br /&gt;
System Requirements&lt;br /&gt;
&lt;br /&gt;
|  | This tutorial is recorded using,&lt;br /&gt;
&lt;br /&gt;
* '''Ubuntu Linux OS v 18.04 '''&lt;br /&gt;
* '''CSS3'''&lt;br /&gt;
* '''HTML5'''&lt;br /&gt;
* '''gedit Text Editor '''and&lt;br /&gt;
* '''Firefox web browser'''&lt;br /&gt;
&lt;br /&gt;
However you may use any other '''editor''' or '''browser''' of your choice.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Prerequisite &lt;br /&gt;
&lt;br /&gt;
https://spoken-tutorial.org&lt;br /&gt;
|  | To practise this tutorial, you should know to use '''HTML''' and '''CSS'''.&lt;br /&gt;
&lt;br /&gt;
If not, please go through the '''HTML''' and '''CSS '''tutorials on this website.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Code Files&lt;br /&gt;
|  | The files used in this tutorial are available in the '''Code Files''' link on this tutorial page.&lt;br /&gt;
&lt;br /&gt;
Please download and extract them.&lt;br /&gt;
&lt;br /&gt;
Make a copy and then use them while practising.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Multi-column Layout&lt;br /&gt;
|  | '''Multi-column layout'''&lt;br /&gt;
* It is used mostly for creating layouts for newspapers, magazines, etc.&lt;br /&gt;
* It is created and styled using the '''CSS column '''properties.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Column Property&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 22em;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''column-width''' || '''column-count'''&lt;br /&gt;
|-&lt;br /&gt;
| '''column-gap || '''column-rule-style'''&lt;br /&gt;
|-&lt;br /&gt;
| '''column-rule-width || '''column-rule-color'''&lt;br /&gt;
|-&lt;br /&gt;
| '''column-rule''' || '''column-span'''&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
|  | These are some '''CSS''' '''column''' properties.&lt;br /&gt;
&lt;br /&gt;
Let us understand these using some examples.&lt;br /&gt;
|-&lt;br /&gt;
|  | Open '''my-css '''folder&lt;br /&gt;
|  | Go to the practice folder '''my-css.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Point to Mycolumn.html in my-css folder&lt;br /&gt;
|  | For this demonstration, I’m using the file '''Mycolumn.html'''.&lt;br /&gt;
&lt;br /&gt;
The same is provided in the '''Code files''' link for practice.&lt;br /&gt;
|-&lt;br /&gt;
|  | Open Mycolumn.html in gedit&lt;br /&gt;
|  | Open the file '''Mycolumn.html''' in the '''text editor.'''&lt;br /&gt;
&lt;br /&gt;
I have opened it in the '''gedit Text Editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mycolumn.html]&lt;br /&gt;
&lt;br /&gt;
Highlight all&lt;br /&gt;
|  | In this '''HTML '''file, I have written some text and linked it to''' Colstyle.css stylesheet'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to my-css folder&lt;br /&gt;
|  | Switch to the '''my-css''' folder.&lt;br /&gt;
|-&lt;br /&gt;
|  | Open Colstyle.css in gedit&lt;br /&gt;
|  | Now open the file '''Colstyle.css''', in any''' text editor.'''&lt;br /&gt;
&lt;br /&gt;
I have opened it in the '''gedit Text Editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Highlight: body property&lt;br /&gt;
|  | I have set the '''background color''' for this page to''' light cyan.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Open Mycolumn.html in firefox&lt;br /&gt;
|  | Switch to the '''my-css''' folder.&lt;br /&gt;
&lt;br /&gt;
Now open the file '''Mycolumn.html''' in a '''web browser'''.&lt;br /&gt;
&lt;br /&gt;
I have opened it in the''' Firefox web browser'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
&lt;br /&gt;
Highlight the text&lt;br /&gt;
|  | Observe the page.&lt;br /&gt;
&lt;br /&gt;
We see a paragraph displayed without any formatting.&lt;br /&gt;
&lt;br /&gt;
Now I will apply all the '''column '''properties to this page.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: column-width&lt;br /&gt;
|  | &lt;br /&gt;
* '''column-width''' property is used to '''set''' the '''width '''of every '''column'''.&lt;br /&gt;
* It also controls the number of '''columns'''&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Mycolumn.html&lt;br /&gt;
|  | Switch to the '''Mycolumn.html''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mycolumn.html]&lt;br /&gt;
&lt;br /&gt;
Type: &amp;lt;nowiki&amp;gt;&amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Type: &amp;lt;nowiki&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|  | I will add the '''div tag''' with '''class “col”''' for the text.&lt;br /&gt;
&lt;br /&gt;
Next to the '''body''' '''tag,''' add the '''div tag''' with the '''class col.'''&lt;br /&gt;
&lt;br /&gt;
Then before the''' body closing tag''', close the '''div tag'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to colstyle.css&lt;br /&gt;
|  | Switch to the '''Colstyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
.col {column-width: 400px;}&lt;br /&gt;
|  | I will create a '''class “col”'''.&lt;br /&gt;
&lt;br /&gt;
Next to the '''body tag''', type the code as shown.&lt;br /&gt;
&lt;br /&gt;
Here I have '''set''' the '''width '''to '''400 pixels'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
&lt;br /&gt;
Highlight the output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
In my case, the content is divided into '''two columns'''.&lt;br /&gt;
&lt;br /&gt;
It may vary in your case, as it depends on the size of the '''browser'''.&lt;br /&gt;
&lt;br /&gt;
Press '''Ctrl '''and '''minus '''keys together to increase the no. of '''columns'''.&lt;br /&gt;
&lt;br /&gt;
If we press '''Ctrl '''&amp;amp; '''+ '''keys together the number of '''columns '''will decrease accordingly.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: column-count&lt;br /&gt;
|  | &lt;br /&gt;
* '''column-count''' property is used to divide the '''element''' into a number of '''columns'''.&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Colstyle.css&lt;br /&gt;
|  | Switch to the '''Colstyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
.col {column-count: 2;}&lt;br /&gt;
|  | Update the property for '''col''' '''class''' as shown.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Highlight: column-count: 2;&lt;br /&gt;
|  | Here I have set the '''column-count''' to '''2'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
&lt;br /&gt;
Highlight the output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
Now the content is divided into two '''columns.'''&lt;br /&gt;
&lt;br /&gt;
Press '''Ctrl '''and '''minus '''keys or '''Ctrl '''and '''plus '''keys together.&lt;br /&gt;
&lt;br /&gt;
The number of '''columns '''will remain as it is.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Highlight: column-count: 2;&lt;br /&gt;
|  | We can divide our content into any number of '''columns '''by changing '''column-count''' value.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: column-gap&lt;br /&gt;
|  | &lt;br /&gt;
* '''column-gap''' property is used to '''set''' the gap between '''columns.'''&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Colstyle.css&lt;br /&gt;
|  | Switch to the '''Colstyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
column-gap: 50px;&lt;br /&gt;
|  | Inside the''' '''class''' col, '''next to the''' column-count '''property''',''' type the''' '''code''' '''as shown.&lt;br /&gt;
&lt;br /&gt;
I have '''set''' a gap of '''50 pixels''' between the '''columns.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
&lt;br /&gt;
Highlight the output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
'''50 pixel''' gap is '''set''' between the '''columns.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: column-rule-style&lt;br /&gt;
|  | &lt;br /&gt;
* '''column-rule-style''' property is used to display a ruler between the '''columns.'''&lt;br /&gt;
* Rulers can be styled as '''solid, dotted, dashed, '''etc'''.'''&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Colstyle.css&lt;br /&gt;
|  | Switch to the '''Colstyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
column-rule-style: solid;&lt;br /&gt;
|  | Inside the''' '''class''' “col”, '''next to the''' column-gap '''property''',''' type the''' '''code''' '''as shown.&lt;br /&gt;
&lt;br /&gt;
I have '''set''' a '''solid '''ruler between the '''columns'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
&lt;br /&gt;
Highlight the output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
A solid ruler is inserted between the '''columns'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: column-rule-width&lt;br /&gt;
|  | &lt;br /&gt;
* '''column-rule-width''' property is used to set the '''width '''of ruler between '''columns.'''&lt;br /&gt;
* This property works after specifying''' column-rule-style '''property.&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Colstyle.css&lt;br /&gt;
|  | Switch to the '''Colstyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
column-rule-width: 5px;&lt;br /&gt;
|  | Inside the''' class “col”, '''next to the''' column-rule-style '''property''',''' type the''' '''code''' '''as shown.&lt;br /&gt;
&lt;br /&gt;
I have set the '''width '''of the '''line '''to''' 5 pixels'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
The width of the line is increased&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: column-rule-color&lt;br /&gt;
|  | &lt;br /&gt;
* '''column-rule-color''' property is used to set the '''color '''of ruler between '''columns.'''&lt;br /&gt;
* This property works after specifying''' column-rule-style '''property.&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Colstyle.css&lt;br /&gt;
|  | Switch to the '''Colstyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
column-rule-color: blue;&lt;br /&gt;
|  | I will set the '''color '''of the ruler to''' blue.'''&lt;br /&gt;
&lt;br /&gt;
Inside the''' '''class''' “col”, '''next to the''' column-rule-width '''property''',''' type the''' '''code''' '''as shown.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
Blue color is set for the ruler.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: column-rule&lt;br /&gt;
|  | &lt;br /&gt;
* '''column-rule''' is shorthand property for setting '''style, width '''and '''color '''of''' '''ruler'''.'''&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Colstyle.css&lt;br /&gt;
|  | Switch to the '''Colstyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
.col { &lt;br /&gt;
column-count: 2; column-gap: 50px; column-rule: solid 3px red; }&lt;br /&gt;
&lt;br /&gt;
|  | Update the property for '''col''' '''class''' as shown.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Highlight:&lt;br /&gt;
&lt;br /&gt;
column-rule: solid 3px red;&lt;br /&gt;
|  | Here I have '''set''' the ruler '''style '''as '''solid''', '''width 3 pixels''' and '''color''' '''red'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
&lt;br /&gt;
Highlight the output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
Ruler is set between the '''columns '''having''' style solid, width 3 pixels '''and '''color red.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: column-span&lt;br /&gt;
|  | &lt;br /&gt;
* '''column-span''' property is used to stretch an '''element''' across '''columns'''.&lt;br /&gt;
* Its values are: '''none, all, initial '''and''' inherit'''.&lt;br /&gt;
* Its default value is '''none.'''&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Only narration&lt;br /&gt;
|  | To understand this property, first let us add a '''heading '''to the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Mycolumn.html&lt;br /&gt;
|  | Switch to the '''Mycolumn.html''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mycolumn.html]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt; Spoken Tutorial &amp;lt;/h1&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|  | After the '''div start tag''', type the code as shown. &lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Colstyle.css&lt;br /&gt;
|  | Switch to the '''Colstyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
h1 {text-align: center;}&lt;br /&gt;
|  | Next to the''' class “col”,''' type the''' '''code''' '''as shown.&lt;br /&gt;
&lt;br /&gt;
I have set the '''h1 heading to centre align.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
&lt;br /&gt;
Highlight the output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
'''Heading '''is added to the first '''column''' not to the whole page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mycolumn.html]&lt;br /&gt;
&lt;br /&gt;
Highlight:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;div class=&amp;quot;col&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt;Spoken Tutorial&amp;lt;/h1&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|  | This is because the '''heading '''is included inside the '''class col'''.&lt;br /&gt;
&lt;br /&gt;
Here the default '''column-span''' value is '''none'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Colstyle.css&lt;br /&gt;
|  | Switch to the '''Colstyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Colstyle.css]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
column-span: all;&lt;br /&gt;
|  | Inside the '''h1''' tag, next to the '''text-align '''property''' ''', type the''' '''code''' '''as shown.&lt;br /&gt;
&lt;br /&gt;
I have '''set''' the '''column-span '''to all.&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to firefox&lt;br /&gt;
|  | Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
&lt;br /&gt;
Highlight the output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
Now the heading spans across all the '''columns'''.&lt;br /&gt;
&lt;br /&gt;
Likewise we can customise our web page content using '''CSS column''' properties, as required.&lt;br /&gt;
|-&lt;br /&gt;
|  | Only narration&lt;br /&gt;
|  | With this we have come to the end of this tutorial. &lt;br /&gt;
&lt;br /&gt;
Let us summarize.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Summary &lt;br /&gt;
|  | In this tutorial, we have learnt about:&lt;br /&gt;
&lt;br /&gt;
* '''Multi-column Layout '''in''' CSS'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Assignment&lt;br /&gt;
| As an assignment&lt;br /&gt;
&lt;br /&gt;
* Open the file '''webpage.html''' which you have created earlier.&lt;br /&gt;
* Add some content more than 10 lines'''.'''&lt;br /&gt;
* Open the file '''styles.css '''which you have created earlier.&lt;br /&gt;
* Divide the content into '''4 columns'''.&lt;br /&gt;
* Using shorthand add a '''dotted red 4px''' '''ruler.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Assignment&lt;br /&gt;
|  | &lt;br /&gt;
* Link the '''styles.css''' file to '''webpage.html''' file.&lt;br /&gt;
&lt;br /&gt;
* Observe the output.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: About Spoken Tutorial project&lt;br /&gt;
|  | The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
Please download and watch it.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: About Workshop&lt;br /&gt;
|  | The Spoken Tutorial Project team conducts workshops and gives certificates.&lt;br /&gt;
&lt;br /&gt;
For more details, please write to us.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Forum questions&lt;br /&gt;
|  | Please post your timed queries on this forum.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Acknowledgement&lt;br /&gt;
|  | Spoken Tutorial project is funded by Ministry of Education (MoE), Govt. of India.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Thanks&lt;br /&gt;
|  | This is Neha Solanki from IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
Thank you for watching&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Nehasolanki</name></author>	</entry>

	</feed>