www.webdeveloper.com
Results 1 to 2 of 2

Thread: question about iframes

  1. #1
    Join Date
    Sep 2003
    Posts
    57

    question about iframes

    just wondering if there is a way to turn off the scrolling in a iframe.. and if there is is there ant way to just disable one like the side to side but leave the vertical....

    here is the iframe code i am using

    <IFRAME name=news marginWidth=4
    hspace=3px src="index8_files/news8.htm" frameBorder=0 width=395
    height=389></IFRAME>

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,222
    Well just make the page that opens inside the iframe fluid so that it resizes without creating a horizontal scroll bar, iframe scroll bars only appear when they are needed.
    You can use
    <body style="overflow-x:hidden;" on the page opening inside the frame to remove the horizontal scroll bar but that will hide the extra content and it only works in ie. I would just go with my first suggestion if I were you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles