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 way 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 somehow I'm still ending up with pages using the IE6
stylesheet.

Any suggestions? Thanks a lot,
Ryan
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to