You are here: Re: pictures move while loading « HTML « IT news, forums, messages
Re: pictures move while loading

Posted by Bergamot on 12/20/06 17:07

Arjen wrote:
>
> http://www.hondenpage.com/fotos/p_user_id_22.php
>
> When the page loads the pictures jump around the
> page untill all the images are loaded. Is there a good way to prevent
> this behaviour without knowing the exact dimentions of the images ?

The only way to prevent the jumping around is to specify the image
dimensions in the width and height HTML attributes. Since you are using
php, you can easily get this info via function getimagesize and plug it
in as you go.

--
Berg

 

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

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