![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Formatting Session value to display correctly on the page
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 |
|
|||
|
Re: Formatting Session value to display correctly on the page
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 > |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|