width: 50%;
}
-.olPopup p {
- width: 400px;
-}
-.olPopup img {
- margin: 20px;
- max-height: 400px;
- max-width: 400px;
-
- /* for IE (does not understand max-heigth max-width) */
- _height: expression((this.offsetHeight>this.offsetWidth) ?
- Math.min(parseInt(this.offsetHeight), 400 ) : true);
- _width: expression((this.offsetWidth>=this.offsetHeight) ?
- Math.min(parseInt(this.offsetWidth), 400 ) : true);
-}
.olPopup {
text-align: center;
border: 3px double black;
background-color: white;
}
+.olPopup img {
+ margin: 20px;
+}
+
/* for IE (does not understand double borders */
#popup_contentDiv {
_border: 2px solid black;