|  | Posted by Jonathan N. Little on 06/28/34 11:51 
rfox@scoe.net wrote:> I've built a site using tables for layout, and it looks ok in
 > everything but in IE where it places extra space around the graphics
 > that contain a rollover script.  (Please see http://www.bentleysweb.com
 > )  Below is a snippet of the table cell in question.  How can I
 > eliminate that extra space in IE?
 <snipped code>
 
 Just something I saw in your code, not related to your layout problem.
 
 You have the function preloadImages(), presumably to preload your
 navigational rollover images, however your call the function on the
 documents onload event. This sort of defeats the concept of preloading
 the images if your delay the loading until *after* the whole page is
 loaded! Onload fires only after the page has completely downloaded. On
 dialup the effect is very noticeable, none of your nav buttons rollover
 until after a distinct delay after page renders. To get the nav buttons
 to work sooner, call the function in the head and it will preload the
 images before the page has finish loading.
 
 
 ....
 
 preloadImages();
 // -->
 </script>
 
 </head>
 <body bgcolor="#FFFFFF" LINK="#666666" VLINK="#666666">
 
 ....
 
 
 
 --
 Take care,
 
 Jonathan
 -------------------
 LITTLE WORKS STUDIO
 http://www.LittleWorksStudio.com
  Navigation: [Reply to this message] |