answersLogoWhite

0

At a minimum, to use the CSS3 property of columns, all you need to declare is column-count. However, if you want more control over the layout of columns, you'll also want to look into using column-width, column-gap, and column rule. Column-count is how you tell the browser how many columns you want the content to display across. Column-width is how wide you want each column to be, column-gap is how big of a gap you want between each column, and column-rule determines what type of divider you want between each column. Let's say we want our content to be split across three columns with each column being 125 pixels wide, a gap of 25 pixels between each column, and a 1px black divider between each column. To accomplish this currently, you have to use browser specific prefixes like -moz- and -webkit-. Your CSS would look like:

.content {

-moz-column-count: 3;

-moz-column-width: 125px;

-moz-column-gap: 25px;

-moz-column-rule: 1px solid #000000;

-webkit-column-count: 3;

-webkit-column-width: 125px;

-webkit-column-gap: 25px;

-webkit-column-rule: 1px solid #000000;

column-count: 3;

column-width: 125px;

column-gap: 25px;

column-rule: 1px solid #000000;

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you use the commutative property and the associative property to add columns of numbers?

you can use commutative property anywhere as long as u keep the symbol -,+ and division and multiplacation ex 2 x 3 - 9 = 2-9 x 3


What are some CSS3 properties that can be used now that work in most modern browsers?

There are several CSS3 properties that will work in most of the major modern browsers of Firefox, Opera, Safari, and Chrome. Internet Explorer, renders very few of them, but most of them won't work until Internet Explorer 9. Some CSS3 properties that you can begin using now for non-critical design elements include text-shadow, border-radius, box-shadow, box-sizing, columns, border-image, RGBA colors (which allows for transparency), embedded fonts via @font-face, and transitions.


How do you put wavy underlining on a word in a webpage maybe using CSS3?

CSS is not capable of doing that. You will need to use an image of some sort.


What is the latest version of css?

The latest version of css is css3


What is latest version of css?

The latest version of css is css3


How do you use colums in a sentence?

I think you mean columns. The columns on the front of the building were Greek. I was impressed by the number of columns on the building.


Where do you use columns?

in resideintional bulding


How many columns would you use in a pie chart?

None - you use columns in a bar chart. Segmentsare used in a pie chart !


What function in excel allows your columns to row or rows to columns?

You can use the Transpose facility in Paste Special or use the Tranpose function.


Why do the French put posters on columns?

Morris columns are a German invention in the 1800s to combat rampant advertising. They are now the property of an advertising company which pays a fee to the town councils.


Does the White House use ancient greek columns?

Yes, you can look in google images and see ionic columns.


How many columns should use whenusing 8.5 x 11 paper in portrait orientation for a newsletter?

Use 2-3 columns.