Last change
on this file since 17939 was
2634,
checked in by Henrik Bettermann, 17 years ago
|
IE 7 displays png files correctly
|
File size:
1.0 KB
|
Line | |
---|
1 | /* |
---|
2 | Internet Explorer CSS customization. |
---|
3 | This file is used and read *only* by MSIE through the use of a MSIE conditional |
---|
4 | comment. This is the place to put instructions to correct the rendering problems |
---|
5 | specific to MSIE. |
---|
6 | |
---|
7 | $Id: msie.css.dtml 28860 2005-10-31 16:34:08Z ogrisel $ |
---|
8 | */ |
---|
9 | |
---|
10 | <dtml-let last_modified="_.DateTime()-14" expires="_.DateTime()+1" > |
---|
11 | <dtml-call "REQUEST.RESPONSE.setHeader( 'Content-Type', 'text/css' )"> |
---|
12 | <dtml-call "REQUEST.RESPONSE.setHeader( 'Last-Modified', last_modified.toZone('GMT').rfc822() )"> |
---|
13 | <dtml-call "REQUEST.RESPONSE.setHeader( 'Cache-Control', 'max-age=36000, must-revalidate' )"> |
---|
14 | <dtml-call "REQUEST.RESPONSE.setHeader( 'Expires', expires.toZone('GMT').rfc822() )" > |
---|
15 | </dtml-let> |
---|
16 | |
---|
17 | /* |
---|
18 | The MSIE PNG behavior is disabled by default but kept here in case you need it. |
---|
19 | This MSIE behavior was supposed to work for MSIE >= 5.5, but *some* versions of |
---|
20 | MSIE 5.5 have problems with it. So feel free to use it back again if your |
---|
21 | visitors do not use MSIE 5.5 or when MSIE 5.5 becomes history. |
---|
22 | */ |
---|
23 | /* |
---|
24 | img { |
---|
25 | behavior: url(pngbehavior.htc); |
---|
26 | } |
---|
27 | */ |
---|
Note: See
TracBrowser for help on using the repository browser.