?

Log in

Previous Entry | Next Entry

A big thanks to out sponsor’s  www.questpond.com 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.

Untitled1

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.

m1

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

m2

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

m3

Below is the complete code for the same.

m4

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

m5

Below is a nice interview question video for quick revision.

Copy right www.questpond.com

Buy 600+ Real Time Interview Videos

Call +91-22-66752917 or mail us on questpond@questpond.com for more details on C#, .NET, ASP.NET, SQL Server interview question videos.

SQL Server interview question videos

Latest Month

January 2017
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
293031    

Tags

Powered by LiveJournal.com