locked
Modal Popup Extender not center by default RRS feed

  • Question

  • User-1572710060 posted

    Usually my Modal popup extender is center by default. However, I have a modal popup that is not center - the modal popup is located on the right lower side of the screen. I have a  CSS class for my website that I really dont want to start tracking to see if it is causing my problem (In fact I am pretty sure thats the cause of the problem). So I was thinking...

    Is there anyway I can manipulate the modal popup position through the CSS. For instance:

    .modalBackground
    {
          background-color: Silver;
          filter: alpha(opacity=60);
          opacity: 0.6;
          width: 800px;
          margin: 0 auto;
          height: auto;
    }
     
    .modalPopup
    {
          background-color: #FFFFFF;
          border-width:1px;
          border-style:solid;
          border-color:Gray;
          overflow: scroll;
          margin: 0 auto;
          top: 0px;
          left: 0px;
          }
    The above is not working, it doesn't do anything to manipulate the width of my background and the position of the modal popup. Any ideas?

    Sunday, March 27, 2011 3:37 PM

Answers

All replies