[horde] Image width and height for IMG tags

Jan Schneider jan at horde.org
Sat May 25 03:48:23 PDT 2002

Zitat von Tero Matinlassi <tero.matinlassi at edu.vantaa.fi>:

> Hi,
> I don't know if this has been discussed before (at least a simple 
> search on mailing list archives didn't show anything up), but I don't 
> like that the HTML IMG tags in Horde applications usually don't have 
> the height and width attributes defined.
> This is because when a single page loads up, it's layout is completely 
> messed up before the browser loads images and gets to know image sizes. 
> If width and height attributes are defined then the layout will not 
> change during the page load. I think it'll confuse at least some people 
> that the page layout changes while loading it.
> Is there any possibility to add width and height attributes to image 
> tags?

Yes, you can go through the whole source code of your installation and edit
every Horde::img() call to add additional width and height parameters
matching each single image.


http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

More information about the horde mailing list