trivial diff: add image width and height tags to mercury logo.

Peter David ROSS petdr at cs.mu.OZ.AU
Fri Sep 4 15:40:52 AEST 1998


Hi,


===================================================================


Estimated hours taken: 0.1

Put image size tags around the mercury logo.  This helps ensure that the
web page is rendered quickly as the browser knows the size of each
object.

/include/template.inc:
    Add image HEIGHT and WIDTH tags to the mercury logo.


Index: template.inc
===================================================================
RCS file: /home/staff/zs/imp/w3/include/template.inc,v
retrieving revision 1.2
diff -u -r1.2 template.inc
--- template.inc	1998/09/03 06:35:59	1.2
+++ template.inc	1998/09/04 05:30:22
@@ -7,8 +7,9 @@
     </TD>
 
     <TD width="10%">
+    <? $size = GetImageSize("$root/images/merclogo_small.jpg"); ?>
     <IMG SRC="<?echo $root?>/images/merclogo_small.jpg" border="2"
-        hspace="10">
+        hspace="10" <? echo $size[3]; ?> >
     </TD>
 </TABLE>
 

----
 +----------------------------------------------------------------------+
 | Peter Ross      M Sci/Eng Melbourne Uni                              |
 | petdr at cs.mu.oz.au  WWW: www.cs.mu.oz.au/~petdr/ ph: +61 3 9344 9158  |
 +----------------------------------------------------------------------+



More information about the developers mailing list