Results 1 to 2 of 2

Thread: Scrollable Content

  1. #1
    Join Date
    Apr 2006
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Scrollable Content

    1) Script Title: Scrollable content

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/scrollc.htm

    3) Describe problem: Hi, I am designing a site, and I need an area to move a lot of information. Ie, what this dynamic drive script does. HOWEVER I don't want the left-right scroll to appear. Tones of sites have them, ie http://www.skize.com/tweaks/scrollab...tent-boxes.php. It has their design, and underneath it has the one I want... I cant find it anywhere, even though it might have a very easy answer.

    Thanks, Daniel

  2. #2
    Join Date
    Sep 2006
    Location
    England
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    Hi holden89,
    The limits to the content of the box are set by;

    Code:
    <div id="scroll3" style="width:170px;height:150px;background-color:lightyellow;overflow:scroll">
    If you increase the width to accommodate the text/content then the left-right scrollbar wil not appear. The same is true for the height. For a full description of the CSS overflow see;

    http://www.w3schools.com/css/pr_pos_overflow.asp

    For more control over your text content ( for the box ), use <p> and maybe with a style class - <p class="my_style">

    Hope this helps.

    Regards,
    Ges.

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
  •