Rev | Line | |
---|
[2243] | 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 805 2006-11-09 09:38:29Z joachim $ |
---|
| 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 | |
---|
| 25 | img { |
---|
| 26 | behavior: url(pngbehavior.htc); |
---|
| 27 | } |
---|
| 28 | |
---|
Note: See
TracBrowser for help on using the repository browser.