www.webdeveloper.com
Results 1 to 1 of 1

Thread: background "floats" into background when scrolling in IE11

  1. #1
    Join Date
    Aug 2014
    Posts
    1

    background "floats" into background when scrolling in IE11

    I have a page with iframes but the problem is that when I'm scrolling in ie11 I don't get a straight vertical border on the frame. The background kind of floats into the iframe. If I click on a link on the page expanding more text the border goes back to a straight line again until I start scrolling again. It looks fine in Chrome and Firefox but not in IE11.

    the code I use is as follows:
    Code:
             html, body {
                  overflow:hidden; margin:0; padding:0; height:100%; background:url("GradientHorizontal.jpg"); background-size: contain;
             }
            #hmnavbox {
                position: absolute;
                left: 10px;
                width: 270px;
                min-width: 50px;
                top: 80px;
                bottom: 5px;
                border: 0px solid;
            }
    
            #hmcontentbox {
                position: absolute;
                top: 80px;
                right: 10px;
                bottom: 5px;
                left: 290px;
                border: 0px solid;
            }
    
            iframe {
                position:absolute; left:0; top:0; width:100%; height:99%; border:none; border-radius:10px;
            }
    Code:
         <body>
    
            <div id="hmnavbox">
                <iframe name="hmnavigation" id="hmnavigation" src="<%HREF_CONTENT_PAGE%>" seamless="seamless" title="Navigation Pane" frameborder="0"></iframe>
            </div>
    
            <div id="hmcontentbox"
                 <iframe name="hmcontent" id="hmcontent" src="<%HREF_DEFAULT_PAGE%>" seamless="seamless" title="Content Page" frameborder="0"></iframe>
            </div>
    Last edited by jedaisoul; 08-08-2014 at 05:05 PM. Reason: code tags added

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