--- loncom/homework/bridgetask.pm 2006/11/06 16:36:05 1.184.2.2
+++ loncom/homework/bridgetask.pm 2006/11/06 17:50:17 1.184.2.4
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# definition of tags that give a structure to a document
#
-# $Id: bridgetask.pm,v 1.184.2.2 2006/11/06 16:36:05 albertel Exp $
+# $Id: bridgetask.pm,v 1.184.2.4 2006/11/06 17:50:17 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -326,9 +326,22 @@ sub style {
my ($target) = @_;
if ($target eq 'web'
|| $target eq 'webgrade') {
- return (<
STYLE
+ if ($env{'browser.type'} eq 'explorer'
+ && $env{'browser.os'} eq 'win' ) {
+ if ($env{'browser.version'} < 7) {
+ $style .= (<
+STYLE
+ } else {
+ $style .= (<
+STYLE
+ }
+ }
+ return $style;
}
return;
}