Welcome to TalkGraphics.com
Results 1 to 10 of 52

Threaded View

  1. #29
    Join Date
    Aug 2010
    Posts
    533

    Default Re: How to make a scroll text box in Xara

    Hi Maarten,
    To do this you will need to add two placeholders in the textbox one at the start and one at the end, place <div id="inner-scroll"> in the first placeholder and </div> in the second.

    Then change the code in the head to

    <style type="text/css">

    #scroll1 {
    width: 100%;
    height: 400px;
    padding-left: 5px;
    border-color: #6699CC;
    border-width: 1px;
    border-style: solid;
    overflow: hidden;
    }

    #inner-scroll{
    width: 100%;
    height: 100%;
    padding-right: 17px;
    overflow: auto;

    }
    </style>
    What I have highlighted in red are important to keep.
    Attached Files Attached Files

 

 

Tags for this Thread

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
  •