473,396 Members | 2,129 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

How to hard wrap a text in iframe

Hi,

I am trying to wrap text in an iframe, but unable to do that.

here is my html and css code for that.

main_page.html

Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <table>
  3. <tr>
  4. <td>
  5. <iframe src="message.html">
  6. it looks like your browser dont understand iframes
  7. </iframe>
  8. </td>
  9. </tr>
  10. </table>
  11. </html>
message.html is as follows.

Expand|Select|Wrap|Line Numbers
  1. <html><head></head><body><pre>saaaassssssssssssssssssssssssssssdfkj312222223333333333333333333333dddddsfffffssdffsdfffffffffffffffffffffffffffffffffffffffffffff21312333333333333333333333111111312nxcvnxcvjxkcvjxvjxlcjvkxjvlxcjvlkxcjvlkxcjvlkjvc123123123123123asaq32asdasd0--0-012sdkasdklaskjsalk8q1312301230dkjdalkjalsjdlkad1309120912830128309asldkjaslkdjalksdjaskdjlkasd0912839012830912830912830912kajklsajklsajdlksajdlkajlkadsjklasjd09123091290128902189032189102832091831209831209dsanlkaslksajasddsaasod9034218192083210983091283091823
  2. </pre></body></html>
I am trying to hard wrap the text to iframe width to avoid scrolling in iframe.

Could you anybody please suggest me how to do that?

Thank you.

Best Regards,
Mohan
May 20 '10 #1
0 1882

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: joes | last post by:
Hello there ! I rendering a PDF with XSLT using Xalan and FOP. I like to place in my article an image, so that the text is floating around the image. I tried several things but it didn't work so...
1
by: Sam Quigley | last post by:
Hi, I want to use XSL to wrap paragraphs of text in <p> tags automatically, basically using the heuristic that two chunks of text separated by 2 consecutive newlines are to be treated as two...
2
by: Andrew Poulos | last post by:
I have a DIV with a nested DIV. The nested DIV is to sit in the bottom right corner of the outer DIV. I tried using absolute positioning but that means that the text the outer DIV contains goes...
0
by: bayxarea-usenet | last post by:
I have a need to break up some text into seperate lines based on a max line length - currently I am just breaking at that character limit - but this is not acceptable since it will break words...
33
by: Xah Lee | last post by:
The Harm of hard-wrapping Lines 20050222 Computing Folks of the industry: please spread the debunking of the truncating line business of the fucking unix-loving fuckheads, as outlines here:...
1
by: Buddy | last post by:
Hello, Does anyone know how to stop labels from wrapping text. If the text is to long for the label then I want it to hide the text just like out the TextBox control works. Thanks,
3
by: Randy | last post by:
Hello, How would this be done? I've looked at the datagrid itself and also the tableStyle and can't find out how to make text wrap in a cell. Thanks
1
by: Sangeetha | last post by:
I have a datagrid column which I want to expand when i type in some text. Initially I tried increasing the column width on the key down event of that DataGridTextBoxColumn, but it didn't work out as...
1
by: Leviathan via AccessMonster.com | last post by:
I'm trying to export an Access table to a pipe-delimited text file (with no text qualifier) and it keeps wrapping the text for one of the tables. None of the fields are particularly long, so I'm...
1
by: DevInCode | last post by:
I'm trying to get text to wrap around a round image. Wrapping around a square image is no problem. The image I am using is obviously square, but its transparent in such away that it looks round (ie...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.