locked
position: fixed; partially renders div when in update panel RRS feed

  • Question

  • User2017648626 posted

    Hi All,

    I have a div placed in updatepanel. 

    When i keep css of my div as below it displays fully ;

    <div runat ="server" id ="divNotificationMsg" style="display:none; z-index:10000; ; left:10%; top:10%; width:80%; padding: 15px 5px;" >

    whereas when i keep below the div gets cut off partially from right.

    <div runat ="server" id ="divNotificationMsg" style="display:none; background-color:#FFFFFF; z-index:10000; ; left:10%; top:10%; width:80%; padding: 15px 5px;" >

    Thursday, July 2, 2015 5:47 AM

Answers

  • User61956409 posted

    Hi shoab shah,

    The element is positioned relative to its first positioned (not static) ancestor element

    The element is positioned relative to the browser window

    For more information about CSS position Property, please check this link.

    http://www.w3schools.com/cssref/pr_class_position.asp

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, July 2, 2015 10:22 PM