User:The last username left/ModalDialogs.js/css

/* CSS for modal dialogs */ .modalBg{ background-color: rgba(0, 0, 0, 0.5); position: fixed; top: 0px; left: 0px; right: 0px; bottom: 0px; } .modalDialog{ color: black; background-color: white; border-color: rgba(150, 150, 150, 0.4); position: fixed; top: 50px; left: 50px; right: 50px; bottom: 50px; z-index: 100; border-width: 10px; border-radius: 10px; -moz-border-radius: 10px; font-weight: bold; } .modalCloseBtn{ background-image: url(http://img693.imageshack.us/img693/9906/closes.png); background-repeat: none; background-position: 0px 0px; position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; cursor: pointer; } .modalCloseBtn:hover{ background-position: -24px 0px; } .modalDialogContent{ position: absolute; top: 30px; left: 30px; right: 30px; bottom: 30px; }