1 reply [Last post]
kitgrill
kitgrill's picture
Offline
newbie
london
Last seen: 6 years 51 weeks ago
london
Joined: 2012-11-22
Posts: 1
Points: 2

Hi

I am using a div with css to insert 2 columns into wordpress posts but I wondered if there was a way for me to define a width for each column.

many thanks

.content {
-moz-column-count: 3;
-moz-column-gap: 10px;
-moz-column-rule: none;
-webkit-column-count: 3;
-webkit-column-gap: 10px;
-webkit-column-rule: none;
column-count: 3;
column-gap: 10px;
column-rule: none;
}

Hugo
Hugo's picture
Offline
Moderator
London
Last seen: 4 years 44 weeks ago
London
Joined: 2004-06-06
Posts: 15668
Points: 2806

So not column-width: ; then?

So not column-width: ; then? An individual width for each, although that tends to go against the point of the column property so no not really, build your own columns the old fashioned way with widths, float, and classes ?

Before you make your first post it is vital that you READ THE POSTING GUIDELINES!
----------------------------------------------------------------
Please post ALL your code - both CSS & HTML - in [code] tags
Please validate and ensure you have included a full Doctype before posting.
Why validate? Read Me