You must Sign In to post a response.
  • Category: HTML

    HTML showing extra long vertical scroll bar in IE.

    Hi all,
    In my website HTML tag showing extra long vertical scroll bar in IE only.
    Please find the screen shot for the same.
    background color for HTML is Green
    for Body is blue[but here it is not showing]
    for MasterPage Red
    for Content Place holder Yellow.

    I tried overflow-y:auto for HTML tag but still not working.

    Thank you in advance.
  • #767362
    Hi,
    try setting following CSS to body:

    body{
    -ms-overflow-style: scrollbar;
    }

    or add this CSS to your page and check:

    @-ms-viewport {
    width: device-width;
    }

  • #767388
    which version of IE it is showing ? is it showing in IE and FireFox also ?
    Mostly if you are keep you are keep your compatibility ON for IE then this problem might occur, in such case you can keep your compatibility set to OFF and then try for the site
    try adding below tag in HTML/aspx file, see below snippet

    < meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]


Sign In to post your comments