SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2008
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it possible to wrap text across two columns?

    I have a layout where the client is using a CMS and wants the content from an entry to be displayed across two columns. Is there any way to do this in CSS?

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,804
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    There is a CSS 3 command to do that but I don't think it has much support in current browsers.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    SitePoint Wizard bronze trophy bluedreamer's Avatar
    Join Date
    Jul 2005
    Location
    Middle England
    Posts
    3,359
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    ^ yep that's up and coming with CSS3. I have seen some Javascript hacks to do something similar, can't find them at thge moment but try a web search for them.

    Other than that you could create an extra custom field in the CMS, eg so you get left_content and right_content then update your template to suit.

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,567
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Hi, you can fake it, if you want something like with lists, although if you want text to be fluid and span across columns as more content grows, then only FF3.5 (I believe that version number) and webkit have support for it via vendor extensions (-moz- and -webkit-)

    Right now, just find an alternative or use a JS feeded solution
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •