www.webdeveloper.com
Results 1 to 2 of 2

Thread: Scrollable <div> horizontal issue

  1. #1
    Join Date
    Aug 2004
    Location
    70 klicks above the Do Lung bridge
    Posts
    654

    Scrollable <div> horizontal issue

    I have a scrollable div (click here to see it) but the problem is that the text runs off the side rather than splitting onto the next line. I don't know if this is relevant but I'm reading in the text from a mySQL database using PHP.
    Below is my css for the DIV.
    Code:
    #ScrollDiv {
    width:250px;
    height:220px;
    overflow:auto; 
    background-color: #666;
    border-color: #eee;
    border: 1px solid;
    padding:5px;
    }
    This is inside bluerobots 3 column layout "content" div. I am using IE6 to view so I'm not sure of some of yoyu may actually be able to see it as it should be. Not sure of the ins and outs of the overflow:auto in different browsers. Can anyone be of assistance?

  2. #2
    Join Date
    Aug 2004
    Location
    70 klicks above the Do Lung bridge
    Posts
    654
    I've resolved it. the test data was just one long endless line of digits with no spaces in it. Broke them up and it's ok now.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles