SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Apr 2002
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Text area scroll

    Hello everyone,
    I've searched the web looking for a tutorial/sample script that would allow me to insert a text box onto my web page and allow the user to scroll the text to reveal the rest of the story. I've tried using the <textarea> tag but this does not allow me to use stylesheet tags within the text. Does anyone know of a resource I could use?

    Thanks :-)

    LEE

  2. #2
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <style>
    div#scroller {
    width: 500px;
    height: 300px;
    overflow: auto;
    }
    </style>

    <div id="scroller">text goes here</div>
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





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
  •