Today i noticed that our Knowledge Base looks ugly at Internet Explorer. It seems that he ignoring the following CSS attribute:
1 |
white-space: pre-warp |
After a few test I found out, that by default IE use for intranet page the compatibility mode. OMG…
There are two ways to change this. First you can add a meta attribute the every page:
1 |
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> |
or you can use the Apache Module mod_headers which is my choise:
1. Change Apache2 Config to load the headers_module
1 |
LoadModule headers_module modules/mod_headers.so |
- Change now the vhost.conf and add the Header
1 |
Header set X-UA-Compatible “IE=Edge” |
- Reload Apache2