X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=media%2Fsyp.css;h=25be854d3ef2b7bc43f3c4f32c705c9366141aa1;hp=3cee0d2d23bd32538f3d35e9079227cee9a94e9f;hb=9acc365249b5e630da6b5cdd23e3a8015f39ddc7;hpb=ae3851e4befcc7f6bee6d161dc77ac2e4e9c6515 diff --git a/media/syp.css b/media/syp.css index 3cee0d2..25be854 100644 --- a/media/syp.css +++ b/media/syp.css @@ -14,25 +14,15 @@ 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;