|
| |
|
|
lu lu
Posts: 418 From: wpg, mb Status: offline
|
iframe text overflowing - 10/21/2006 2:07:12
Hi i have an iframe displaying in a main page. The iframe displays data from a database, but the data is overflowing the iframe? how can i prevent this? I tried to put the contents of the iframe in a table but still no luck, any ideas? Thanks
|
|
|
|
d a v e
Posts: 4071 Joined: 7/24/2002 From: England (but live in Finland now) Status: online
|
RE: iframe text overflowing - 10/21/2006 5:57:09
have you got scrolling on the iframe? have you got a url we can look at, please ;)
_____________________________
David Prescott Gekko web design
|
|
|
|
d a v e
Posts: 4071 Joined: 7/24/2002 From: England (but live in Finland now) Status: online
|
RE: iframe text overflowing - 10/21/2006 7:01:21
"Dave is right. " sorry - it's a habit of mine ;)
_____________________________
David Prescott Gekko web design
|
|
|
|
lu lu
Posts: 418 From: wpg, mb Status: offline
|
RE: iframe text overflowing - 10/21/2006 13:18:03
sry, can't give a url, this is the iframe: if not recordset.eof then myArray = recordset.getrows recordset.close:set recordset=nothing Conn.close: set Conn=nothing response.write("<html><head></head><body style='overflow-x:hidden; overflow-y: auto'><table><tr><td width='315'><font face='Courier'>") For lnRowCounter = 0 To Ubound(MyArray,2) Response.Write MyArray(lnColumnCounter, lnRowCounter) & "<hr />" Next response.write("</font></td></tr></table></body></html>") and the main page: <br/><iframe scrolling='yes' src='contribute.asp' width='360'>Sorry your browser does not support Iframes</iframe> now if i have a value in the db that is like vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv then the text flows over. The iframe only displays 35 characters per line. Any suggestions on how i can make the above string cut off at 35 and continue on the next line? THanks again
|
|
|
|
lu lu
Posts: 418 From: wpg, mb Status: offline
|
RE: iframe text overflowing - 10/21/2006 13:47:02
Thanks Jaybee, I'm not the one putting in porper text, its for a blog type site and i'm creating client usability on funny posts, i could use: style='word-wrap:break-word;'> but that only IE supported (and i'm creating this now so the CSS3 feature like this isn't quite available. Mybe i need to handle these types of strings that are coming for the database, server side with ASP string formating... Any Suggestions?
|
|
|
|
lu lu
Posts: 418 From: wpg, mb Status: offline
|
RE: iframe text overflowing - 10/21/2006 14:26:55
Thanks, if your really php then shouldn't you have a PHP on your chest, it just looks blue to me ..lol
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|