1 Reply Latest reply on Jul 28, 2008 7:21 PM by Newsgroup_User

    Formatting Session value to display correctly on the page

    Level 7
      I have a few sessions that im setting to be displayed later on following
      pages..

      One of the sessions is holding memo box content.. currently on my page that
      displays, it doesnt wrap the text, so my page if you enter over
      100characters displays all the text inline and forces the page to scroll to
      the right to view it all..

      Would the example below work for session values?


      This example seems to work fine with some other pages i have done, but this
      is displaying the memo text from the database..

      I havent tried this yet since im at work, but wanted to know if this should
      or should not work for me...

      <td class="lines"
      id="wrap"><%=Replace(rsEDUre.Fields.Item("qehsign").Value,chr(13),"<br>")%> </td>



      td.lines {

      display:block;

      font-size: 12px;

      border-bottom: 1px solid black;

      padding: 0;

      word-wrap:break-word;

      text-transform: uppercase;

      }



      #wrap {

      overflow: auto;

      width:600px;

      word-wrap:break-word;

      }




      --
      ASP, SQL2005, DW8 VBScript, Visual Studio 2005, Visual Studio 2008


        • 1. Re: Formatting Session value to display correctly on the page
          Level 7
          this worked great for me..

          no need for replies..

          --
          ************************************************
          ASP, SQL2005, DW8 VBScript, Access
          "Daniel" <dan_c@h.com> wrote in message
          news:g6l7i8$l07$1@forums.macromedia.com...
          >I have a few sessions that im setting to be displayed later on following
          >pages..
          >
          > One of the sessions is holding memo box content.. currently on my page
          > that displays, it doesnt wrap the text, so my page if you enter over
          > 100characters displays all the text inline and forces the page to scroll
          > to the right to view it all..
          >
          > Would the example below work for session values?
          >
          >
          > This example seems to work fine with some other pages i have done, but
          > this is displaying the memo text from the database..
          >
          > I havent tried this yet since im at work, but wanted to know if this
          > should or should not work for me...
          >
          > <td class="lines"
          > id="wrap"><%=Replace(rsEDUre.Fields.Item("qehsign").Value,chr(13),"<br>")%> </td>
          >
          >
          >
          > td.lines {
          >
          > display:block;
          >
          > font-size: 12px;
          >
          > border-bottom: 1px solid black;
          >
          > padding: 0;
          >
          > word-wrap:break-word;
          >
          > text-transform: uppercase;
          >
          > }
          >
          >
          >
          > #wrap {
          >
          > overflow: auto;
          >
          > width:600px;
          >
          > word-wrap:break-word;
          >
          > }
          >
          >
          >
          >
          > --
          > ASP, SQL2005, DW8 VBScript, Visual Studio 2005, Visual Studio 2008
          >