Click below for Step by Step and Interview Q & A (dotnetinter) wrote,
Click below for Step by Step and Interview Q & A

What is the use of column layout in CSS?(ASP.NET CSS interview questions with answers)

A big thanks to out sponsor’s to provide this ASP.NET CSS  interview question.

CSS column layout helps you to divide your text in to columns. For example consider the below magazine news which is one big text but we need to divide the same in to 3 columns with a border in between. That’s where HTML 5 column layout comes to help.


To implement column layout we need to specify the following:-

  • How many columns we want to divide the text in to ?

To specify column-count we need to use the below code. “webkit” and “moz-column” are needed for chrome and firefox respectively.


  • How much gap we want to give between those columns ?


  • Do you want to draw a line between those columns ?


Below is the complete code for the same.


You can then apply the style to the text by using the class attribute.


Below is a nice interview question video for quick revision.

Tags: css interview questions, csharp interview questions, css column count interview questions, it interview questions, programming iterview questions

  • Stored Procedure in SQL Server.

    Stored Procedure in SQL Server Stored Procedure is collection of Sql code that can be saved under a name in SSMS(Sql Server Management Studio).…

  • SQL Server: - Extended Events

    What is Extended Events? SQL Server Extended Events helps the database administrator to collect the information necessary to identify performance…

  • SQL Server - Stored Procedure

    In this article we will understand what is the use and why do we need Stored Procedure. What is Stored Procedures? A stored Procedure is a set of…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded