Keyword

Browser detection - IE8

  • Kai Roen
  • Kai Roen's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 2 months ago #72592 by Kai Roen
Browser detection - IE8 was created by Kai Roen
I am not sure if this is a bug, but it seems there is a issue of browser detection for IE in K2.

I am using Joomla 1.5.14 and K2 2.0 (not 2.1 - will update it soon). When visiting the site with IE8, It seems that the CSS class "clr" is not working properly in IE8. The result is double or triple breaks - but when I switch back to compability mode in IE, it works fine.

So my question, is this a bug? And how easy is it to fix it?

Check out attached image and the link to the site is www.knit.no
Attachments:

Please Log in or Create an account to join the conversation.

  • Kai Roen
  • Kai Roen's Avatar Topic Author
  • Offline
  • Senior Member
More
15 years 2 months ago #72593 by Kai Roen
Replied by Kai Roen on topic Browser detection - IE8
I figured this out, it seems that the tagshould be inside if-clause, instead of after ending the if-clause. This should be done in all of the K2 templates or add a new class in ie7.css or ie8.css. Anyway, ie8.css does not exists in K2.

Please Log in or Create an account to join the conversation.

More
14 years 8 months ago #72594 by Andrew Holden
Replied by Andrew Holden on topic Browser detection - IE8
An alternative - you could always do the following for ie7.css

.clr { display: none; }

Normally not a good idea, but this class doesn't have any height anyway...so IE7 seems to work better without rendering it.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum