Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Format text - wrap text

Author  Topic 

rgombina
Constraint Violating Yak Guru

319 Posts

Posted - 2007-09-28 : 08:59:03
Hello -

Is there a function out there that can format wide input text? Basically longer than 80 characters forces scrolling to activate.

I appreciate any help. Thanks.

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2007-09-28 : 09:12:09
this is really an HTML/CSS question, not a SQL Server question ... You're looking for a function? Where would this function exist? How about some specific details about where you are trying to display your data.

In HTML with CSS you can specify overflow:scroll; for a block element and if the text is too large, scroll bars will appear. Is that what you need?

see: http://www.w3schools.com/htmldom/prop_style_overflow.asp

do more googling on CSS+overflow for examples, and experiment yourself. I strongly recommend that you learn the basics of CSS and HTML if you are programming in ASP.NET.

- Jeff
http://weblogs.sqlteam.com/JeffS
Go to Top of Page
   

- Advertisement -