ep2008-dev

Changeset

26:d6c55ab07502
2008-01-21 Paul Boddie raw files shortlog changelog graph Added dirty IE hack to make images have the appropriate size on the front page. update-1
themes/ep2008/css/screen.css (file)
     1.1 --- a/themes/ep2008/css/screen.css	Sun Jan 20 03:07:18 2008 +0100
     1.2 +++ b/themes/ep2008/css/screen.css	Mon Jan 21 20:10:33 2008 +0100
     1.3 @@ -630,11 +630,13 @@
     1.4  .portlet-slides td.third img {
     1.5      max-width: 180px;
     1.6      width: 100%;
     1.7 +    width: expression(document.body.clientWidth > 1280 ? 180 : 180*document.body.clientWidth/1280);
     1.8  }
     1.9  
    1.10  .portlet-slides td.half img {
    1.11      max-width: 240px;
    1.12      width: 100%;
    1.13 +    width: expression(document.body.clientWidth > 1280 ? 240 : 240*document.body.clientWidth/1280);
    1.14  }
    1.15  
    1.16  .picture {