Results 1 to 2 of 2

Thread: Scrollable Content Spacing

  1. #1
    Join Date
    Nov 2008
    Posts
    43
    Thanks
    8
    Thanked 0 Times in 0 Posts

    Default Scrollable Content Spacing

    1) Script Title: Scrollable content

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

    3) Describe problem:

    I have several instances of the scrollable content script working fine except that there is no space to the right of the text in the scroller. What I mean is, the block of text that I am using (which is alligned to the left) is pushed up way to close to the actual bar of the scrollable content.

    It seems to me that for whatever reason, this is not the case in the demo for the scrollable content script on this site.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This is one of the earlier 'scripts' of Dynamic Drive, and it is not a javascript. The ilayer and layer tags are no longer supported or required by modern browsers. I believe the last browser to support them was NS 4. So this now becomes more or less an exercise in ordinary HTML and css style:

    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <style type="text/css">
    #scrollable_1 {
     height: 12.5em;
     width: 11em;
     text-align: left;
     padding: 1ex;
     overflow: auto;
     background-color: #ccc;
     color: #000;
    }
    </style>
    </head>
    <body>
    <div id="scrollable_1">
    A bumbling quail unhesitantly sighs over that bumpy aardvark. Your abiding peasants unflappably interpolate your blue goblins. A burning scandal unattractively signs our busy fielders. Your absorbing sandpipers unrestrainedly add to our bitter schnitzels. The a cappella scoundrels tidily sin for those abundant aces. Their aching exhortations actually spoil the bluish mnemonics. Those bittersweet megaphones wrathfully sneeze at your cajoling seagulls. Those blazing seas mousily sniff an accommodating acre. Her blooming animals leerily signal her black fiduciaries. That calm man abhorrently sings about the calculating mice.
    </div>
    </body>
    </html>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •