Hi i have an iframe that display data from a database.
The problem is that if someone enters data into the db like this:
tttttttttttttttttttttttttttttttttttttttttttttt,ttttttttttttttttttttttttttttttttttttttttttttttttttt,ttttttttttttttttttttttttttttttttttttttttttttttttttttttt,tttttttttttttttttttttttt
OR
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
the iframe overflows the set iframe width with the text cause there is no spaces. How could i format such data from the db to prevent the overflow. This is what i'm working with:
............
Conn.close: set Conn=nothing
response.write("<html><head></head><body style='overflow-x:hidden; overflow-y: auto'><table><tr><td width='315'>")
For lnRowCounter = 0 To Ubound(MyArray,2)
Response.Write MyArray(lnColumnCounter, lnRowCounter) & "<hr />"
Next
response.write("</td></tr></table></body></html>")
I have the font set to courier so that each letter and numer is the same distance much like this text area box that i'm typing this question into. 35 characters can fit nicley in the ifram box but any more should continue on the next line, I'm not sure how to do this? any thoughts on this. THanks
The problem is that if someone enters data into the db like this:
tttttttttttttttttttttttttttttttttttttttttttttt,ttttttttttttttttttttttttttttttttttttttttttttttttttt,ttttttttttttttttttttttttttttttttttttttttttttttttttttttt,tttttttttttttttttttttttt
OR
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
the iframe overflows the set iframe width with the text cause there is no spaces. How could i format such data from the db to prevent the overflow. This is what i'm working with:
............
Conn.close: set Conn=nothing
response.write("<html><head></head><body style='overflow-x:hidden; overflow-y: auto'><table><tr><td width='315'>")
For lnRowCounter = 0 To Ubound(MyArray,2)
Response.Write MyArray(lnColumnCounter, lnRowCounter) & "<hr />"
Next
response.write("</td></tr></table></body></html>")
I have the font set to courier so that each letter and numer is the same distance much like this text area box that i'm typing this question into. 35 characters can fit nicley in the ifram box but any more should continue on the next line, I'm not sure how to do this? any thoughts on this. THanks