locked
HTML text in columns

    Question

  • Here is my problem.

    I'm downloading long html text and I want to show it in columns. I use 

    .tresc {
      columns: auto;
      column-width:400px;
      column-gap: 5em;
      height:100%;
    }

    Problem is that I don't have horrizontal scrolling and I need - ho to fix it??


    • Edited by Lpiernik Monday, November 25, 2013 12:33 PM
    Monday, November 25, 2013 12:32 PM

Answers

All replies

  • Hi Lpiernik,

    Try something below:

    #tresc {
                width: 900px;
                columns: auto;
                column-width: 400px;
                column-gap: 5em;
                height: 45%;
                -ms-overflow-style:scrollbar;
                overflow:scroll;
    	    overflow-y:hidden;
            }

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Tuesday, November 26, 2013 6:35 AM
    Moderator
  • That is not what I want to get.

    I can't upload screenshots:/ Something like in dobreprogramy application.

    If there is long txt make 2 or even five columns on the entire screen with horrizontal scrolling

    Tuesday, November 26, 2013 10:23 AM
  • You mean the third image of this app screenshot: http://apps.microsoft.com/windows/en-us/app/dobreprogramy/9b3226c2-c2c4-48b7-955b-6a611ec94922 ?

    It is a Hub control, see this: http://msdn.microsoft.com/en-us/library/windows/apps/dn255137.aspx

    Is this what you mean?

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    • Marked as answer by Lpiernik Tuesday, November 26, 2013 7:02 PM
    Tuesday, November 26, 2013 11:27 AM
    Moderator
  • that's it - thx
    Tuesday, November 26, 2013 7:02 PM