Google Chrome not rendering overflow correctly

Total Post:341


 1365  View(s)
Rate this:

I just found this ASP.Net server control horizontal scroll not working when align=right attribute is used! I digged into the HTML generated code and found something like this:

<div align="right" style="overflow:scroll; width: 200px; height:200px;">
    <div style="width:400px; height:400px">

The horizontal scrollbar appears the moment you remove the align="right" attribute. Tested in Chrome 17/18. It works fine in Firefox 10 and IE 10

  1. Re: Google Chrome not rendering overflow correctly

    Hi Ankit, 

    try this:

    <script src="" type="text/javascript"L></script>

        <script type="text/javascript">

    ​        $('[align="right"]')​.css('float', 'right').removeAttr('align');​​​​​​​​​​​​​



Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.