Two Column Text Flow - CSS-Tricks
Có thể bạn quan tâm
Home › Forums › CSS › Two Column text flow
- This topic is empty.
- Author Posts
- December 9, 2010 at 10:23 am #30946 infocentreMember
Hello guys.
I would like to pick you’re brains as to whether there is a way to have two columns with fixed height and width with text flowing between the two.
Example: I have a online magazine (physically displayed like an open book with two pages on view) and it is run on wordpress. So, i want to allow the editor to write content into the content box of WP and have that text flow between two columns.
The more i look into it, the harder it seems!
Cheers guys Alex
December 9, 2010 at 10:28 am #70229 cpj238MemberYou can do this with CSS3 pretty easily with vendor prefixes for modern browsers…but as far as IE6/7/8/9 are concerned…well you’re out of luck with CSS3.
#magazine { -moz-column-count: 2; -moz-column-gap: 20px; -webkit-column-count: 2; -webkit-column-gap: 20px; column-count: 2; column-gap: 20px; }There could be a Javascript or JQuery plugin out there that might accomplish the effect you want, but then again I don’t know, never tried looking for one.
December 10, 2010 at 7:05 am #70140 infocentreMemberThanks for the advice! Really it needs to compatible between most browsers (at least the IE included!)
I have tried looking for a jQuery fix, but nothing seems to be out there…
Thanks Alex
December 23, 2010 at 12:10 am #69075 harkonennMemberAlex, have you seen this: Columnizer jQuery Plugin.
Perhaps it might be the solution, or at least lead you in the right direction…
January 10, 2011 at 5:00 am #66779 infocentreMemberThank you! That looks perfect – just about to have a proper play around with it.
Thanks again!
January 7, 2013 at 10:29 pm #120200 shadowmasonMemberThank you, works great!
January 7, 2013 at 10:40 pm #120201 chrisburtonParticipantWon’t CSS regions be a perfect solution for this?
January 8, 2013 at 8:53 am #120248 Historical Forums UserParticipantIt probably would. Damn shame it is barely supported by any browser. http://caniuse.com/css-regions
- Author Posts
- The forum ‘CSS’ is closed to new topics and replies.
Từ khóa » Html Flow Text Into Two Columns
-
Flow 2 Columns Of Text Automatically With CSS - Stack Overflow
-
CSS Multiple Columns - W3Schools
-
How To Create A Two Column Layout - W3Schools
-
Multi-Column Layout For Text Flow Using HTML. - Tutorialspoint
-
When And How To Use CSS Multi-Column Layout
-
CSS Multi-column Layout - CSS: Cascading Style Sheets | MDN
-
Using Multi-column Layouts - CSS: Cascading Style Sheets | MDN
-
Columns - CSS-Tricks
-
Use Text Columns In Webflow
-
How To Use Float And Columns To Lay Out Content With CSS
-
Flow Text In 2 Columns With Custom Style - HTML CSS
-
Multi-column Layout In CSS
-
How To Auto Flow Text Into Two Columns, Linked To A Parent? - Reddit