--- loncom/interface/loncommon.pm 2009/05/05 16:01:50 1.802 +++ loncom/interface/loncommon.pm 2009/05/05 16:51:22 1.803 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.802 2009/05/05 16:01:50 bisitz Exp $ +# $Id: loncommon.pm,v 1.803 2009/05/05 16:51:22 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4251,7 +4251,7 @@ sub bodytag { my $font = &designparm($function.'.font',$domain); my $pgbg = $bgcolor || &designparm($function.'.pgbg',$domain); - my %design = ( 'style' => 'margin-top: 0px', + my %design = ( 'style' => 'margin-top: 0', 'bgcolor' => $pgbg, 'text' => $font, 'alink' => &designparm($function.'.alink',$domain), @@ -4554,8 +4554,8 @@ sub standard_css { my $lg_border_color = '#C8C8C8'; my $border = ($env{'browser.type'} eq 'explorer' || - $env{'browser.type'} eq 'safari' ) ? '0px 2px 0px 2px' - : '0px 3px 0px 4px'; + $env{'browser.type'} eq 'safari' ) ? '0 2px 0 2px' + : '0 3px 0 4px'; return <* { float: left; - margin: 10px 20px 10px 0px; + margin: 10px 20px 10px 0; overflow:hidden; } @@ -6129,9 +6129,9 @@ div.LC_columnSection > .ContentBoxSpecia .clear { clear: both; - line-height: 0px; - font-size: 0px; - height: 0px; + line-height: 0; + font-size: 0; + height: 0; } .LC_loginpage_container { @@ -6154,7 +6154,7 @@ div.LC_columnSection > .ContentBoxSpecia } .LC_loginpage_loginContainer h2 { - margin-top:0; + margin-top: 0; display:block; background:$bgcol; color:$textcol; @@ -6253,7 +6253,7 @@ ul#LC_toolbar li a:hover { } ul#LC_toolbar { - padding:0; + padding: 0; margin: 2px; list-style:none; position:relative; @@ -6262,7 +6262,7 @@ ul#LC_toolbar { ul#LC_toolbar li { border:1px solid white; - padding:0; + padding: 0; margin: 0; float: left; display:inline; @@ -6272,12 +6272,12 @@ ul#LC_toolbar li { a.LC_toolbarItem { display:block; - padding:0; - margin:0; + padding: 0; + margin: 0; height: 32px; width: 32px; color:white; - border:0 none; + border: none; background-repeat:no-repeat; background-color:transparent; } @@ -6286,7 +6286,7 @@ ul.LC_functionslist li { float: left; white-space: nowrap; height: 35px; /* at least as high as heighest list item */ - margin: 0px 15px 15px 10px; + margin: 0 15px 15px 10px; }