You are here: Re: Extra Space in IE Table Layout « HTML « IT news, forums, messages
Re: Extra Space in IE Table Layout

Posted by Jonathan N. Little on 11/25/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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация