Welcome to TalkGraphics.com
Results 1 to 7 of 7

Thread: I-Frame code

Threaded View

  1. #2

    Default Re: I-Frame code

    Scroll bars are content aware and browser dependant.
    Using 'auto' for the scrolling attribute will produce scroll bars where the browser detects that they are necessary to accommodate the content.
    A horizontal scrollbar therefore will be drawn when the width of the content exceeds the available window space. So enlarge your placeholder by a few pixels until the scrollbar is no longer drawn. Of course you have to take into account the pixels that the vertical scrollbar consumes but even this may differ slightly on some people's computers.

    Having said that, there is a .css fix but you must have access to the internal frame’s code to implement this solution. It won't work for remote content if you don't have access to add the code to the document <head>

    <style type="text/css">

    HTML {
    width:98%;
    overflow-x: hidden;
    }

    </style>
    Attached Files Attached Files
    Last edited by steve.ledger; 08 June 2010 at 05:14 AM.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

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