]> dev.renevier.net Git - syp.git/blobdiff - media/syp.css
create thumbnails of photos
[syp.git] / media / syp.css
index 3cee0d2d23bd32538f3d35e9079227cee9a94e9f..25be854d3ef2b7bc43f3c4f32c705c9366141aa1 100644 (file)
     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;