Web Analytics Made Easy -
StatCounter Submit withing certain space. - CodingForum

Announcement

Collapse
No announcement yet.

Submit withing certain space.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Submit withing certain space.

    allright, so i got a div where a script ont he page will be posting texts by inputs inside an unsorted list.

    Whats happening is that the div must only 300 pixels height, so i locked it by using this on the css:

    Code:
    overflow-x:hidden; overflow-y:scroll;
    now locked to keep the size of the div, and will only scroll up and down.so the div wont scroll to the sizes.

    Whats happengi is that, when an input is submited with a text soo long that ti needs to scrool, whath appens is that it will not split the txt into several lines so it would only fit the current size of the div....

    what could i do in this case so the div would keep its size, and then the text placed in it wont scroll to the sides but would split into several lines to fit the div. .... ?

  • #2
    IS Paging with php an option ? ... does anyone knows about if thats possible? xd

    Comment


    • #3
      Div box is scrollable with a css tag like this:
      Code:
      .over_flow_div{
      height:120px;
      width:250px;
      overflow:scroll;
      }
      Evolution - The non-random survival of random variants.
      Physics is actually atoms trying to understand themselves.

      Comment

      Working...
      X