Rotator does not re-position when resizing a page with centered body

2 posts, 0 answers
  1. Raymond Mui
    Raymond Mui avatar
    54 posts
    Member since:
    Apr 2008

    Posted 18 Dec 2008 Link to this post

    Hi, I have my page center on the browser, as follows:

    <body style="width: 960px; margin: 5px auto 0;">

    On the left hand side, I have a navigator menu.  Below it, I put a rotator to show some news. 

    Problem: when I resize the browser window (IE), the rotator does not relocate.  However, it works on FF3 and Opera.

    Any idea?


  2. Fiko
    Fiko avatar
    1406 posts

    Posted 22 Dec 2008 Link to this post

    Hello Raymond,

    I was able to reproduce the problem, but the reason for it is not in RadRotator. This problem occurs because the IE does not recognize the third parameter in the "margin" declaration ("margin: 5px auto 0;") - it expects only 2 parameters. Other browsers work fine with full parameter list.

    What I can suggest is to use the "margin" property with 2 parameters only :
    <body style="width: 960px; margin: 5px auto;"

    Sincerely yours,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top