Hi all,

 

Recently, we did branding of a site and created browser specific style
sheets (style.css, style_ie6.css, style_ie7.css, style_ie8.css).

File sitemap.xmap contains code that applies the right style sheet to the
site depending upon browser type/version.  

 

Each time we viewed the site using Firefox, style.css gets applied as
expected.

 

However,  the story is different when browsing with different versions of
IE: style sheets are not getting applied as expected.

 

For example, if we first viewed the site using IE 7,  style_ie7.css gets
picked up correctly. Next when we open the site in IE 6 and

IE 8, instead of getting their version specific style sheets they get
style_ie7.css. 

 

Restarted Tomcat and viewed first with IE 6. Guess what? All subsequent
viewing in IE 7 & IE 8 get the style_ie6.css. 

 

Decided to experiment this with the stock theme: Kubrick. Results were same
as above. 

Please check this out yourself by viewing some existing or test collection
with Kubrick theme in different IE versions.

 

Found an earlier discussion on this issue in Feb'09 by Eric Luhrs

 

http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg06870.html

 

No one has mentioned any solution other than the hack suggested by Eric.
Checked with him recently and he still hasn't found an

alternative.

 

Hoping to hear some expert ideas. We really need to get this fixed for our
user base.

 

-       Deb 

Web Developer, 

Ohio Learning Network, 

USA

 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to