• If you are using asp:HiddenField controls (rendered as <input type="hidden" />) in your website and update their values with AJAX requests, you may observe some unexpected changes in the page layout in Internet Explorer (IE). It will seem that an empty line is inserted at each location where a HiddenField control resides. The behavior is observed only in IE and looks like a problem caused by the browser or the MS AJAX client-side framework.

    A quite easy workaround for this glitch is to wrap the HiddenField in a container with no height and reduced font size. Here is an...

  • This has been something like a tale of the unexpected for me. A client recently reported a problem with scrolling being slow in IE when the mouse wheel is used. It took about two afternoons of testing different scenarios and head scratching, and this is where we got: it seems that if a :hover pseudo CSS class is used on the web page, scrolling in IE7 becomes slower, even if the CSS selector, which contains the :hover pseudo class does not select anything, i.e. the CSS rule is not relevant to any of the web page elements.

    The longer the page, the...

  • The other day I was researching a slight RadGrid header and data cell misalignment when using scrolling with static headers. Finally, it turned out that there is a breaking change in the way Firefox 3 treat scrollable elements with an applied padding style. To be more specific, this browser version does not include the padding zone into the scrollable area, and as a result, the inner area of the element becomes smaller. Safari 2 and 3 behave the same way.

    Here is a very simple testing scenario:

     

    <div style="width:400px"
        <div style="width:100px;padding-right:300px;background:orange;overflow:auto"
            <div style="width:500px;height:100px;background:yellow">&nbsp;</div> 
        </div> 
    </div> 
     

     

    The above HTML code will be displayed by Firefox 3, Firefox 2, IE7, Opera 9 and Safari...

  • The new Opera 9.5, released about a week ago, quite easily established itself as my default "home" browser. It is sooooo much faster than Firefox and Internet Explorer, especially when it comes to heavy web applications such as Gmail and Facebook (and doesn't hang either). And what's more, the Opera guys finally made the Alt + D keyboard shortcut focus the address bar as is in the other two browsers (stretching out to reach F8 was rather inconvenient. Happiness is in the small things, you know... :-) ).

    Opera 9.5 also includes DragonFly, which is the more powerful successor of the browser's...

  • I have been aware for some time now that title attributes in CSS <link> tags trigger problems and prevent some CSS styles from being applied on the web page. Today I invested a couple of hours in finding out what actually happens and this is what we've got.

    If you have several <link> tags in the page <head> and one of them has a title attribute, then the <link> tags coming after it must either have a title attribute with the same value or no title attribute at all, otherwise the styles in the latter CSS files the will not be applied on the...