Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Senior Member
    Join Date
    Oct 2007
    Posts
    241
    Member #
    15910
    Hello,
    How can you make the text bruoght up in iframe wrap within the iframe width?
    lets say i have this line in my main.php page:
    <iframe src="poll/pollq.php frameborder="0" width="200" height="400">
    </iframe>
    which brings up a form from pollq.php in that iframe within main.php
    I want the text displayed by pollq in iframe to wrap in 200 pixel width. But it is not and producing a horizontal scroll bar instead. By the way the 400 pixel height is more than enough here...
    How can I do that? Should I modify the code in main.php or pollq.php first of all and how?
    pollq is a php file by the way.
    Have a nice day

  2.  

  3. #2
    Senior Member diddy's Avatar
    Join Date
    Jun 2008
    Location
    Sydney, Australia
    Posts
    502
    Member #
    16955
    I reckon you could do this with PHP but I'm still in the early days of learning it, so I'm no help there.

    However you might be able to go to the page that's inside the iframe and wrap the contents inside a div and specify the width of the div to 200 pixels. Try that.

    On your iframe tag, there is an attribute that disables scrolling, and I think it is scrolling="no" or scrolling="0". Try that as well.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search tags for this page

how to wrap text around iframe

,

html wrap text around iframe

,

iframe text wrap

,

iframe wrap

,

iframe wrap content

,
iframe wrap text
,

iframe wrap text inside

,

text wrap in visualforce

,

wrap text around iframe

,

wrap text in iframe html

Click on a term to search for related topics.
All times are GMT -6. The time now is 09:00 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com