[Dspace-general] CSS issues in Manakin using IE8
Ryan Clark
ryan.clark at azgs.az.gov
Tue Nov 24 17:01:40 EST 2009
Hello -
I'm having CSS issues with IE8. I'm using a slightly modified version of the
Kubrick theme that comes packaged with Manakin. Spacing of the sidebar,
header and footer are off in IE8.
I noticed that when I access my site using IE8, it uses two stylesheets:
style.css and style-ie6.css. My first thought was to try and adjust that to
use the style-ie7.css. I tried to fix it by doing the following:
1) In the global sitemap.xmap, I added a line:
<map:selectors>
<map:selector name="browser" ...>
...
*<browser name="explorer8" useragent="MSIE 8"/>*
...
2) In the theme's sitemap.xmap I added another set of lines:
<map:select type="browser">
...
*<map:when test="explorer8">*
* <map:transform type="IncludePageMeta">*
* **<map:parameter name="stylesheet.screen#1" value="lib/css/style.css"/>*
* **<map:parameter name="stylesheet.screen#2"
value="lib/css/style-ie7.css"/>*
* **<map:parameter name="javascript#1" value="lib/jquery-1.2.min.js"/>*
* **<map:parameter name="javascript#2" value="lib/kubrick-jquery.js"/>*
* **<map:parameter name="theme.path" value="{global:theme-path}"/>*
* **<map:parameter name="theme.name" value="{global:theme-name}"/>*
* </map:transform>*
* </map:when>*
...
However I didn't have any luck -- IE8 still identifies itself as useragent
"MSIE 8", but something isn't recognizing that as something different than
explorer 6...
Any suggestions? Thanks a lot,
Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/dspace-general/attachments/20091124/1a9184f7/attachment.htm
More information about the Dspace-general
mailing list