Hi everyone,

I need to vertically align an IMG in a dynlayer.  This appears easy on 
recent browsers, but not on earlier ones - is this correct?  At the moment, 
my code looks like:-

        lay = new DynLayer();
        lay.setHTML('<center><img src="Images/000001.gif"></center>');

...which horizontally centers each image fine: but how to do the vertical 
equivalent?

The best suggestion (from an old thread) would seem to be to insert a 1x1 
transparent shim.gif above this image (but scaled to the appropriate 
height). But this relies on the main image having been completely 
pre-loaded: and it's also quite clunky.

When you hit this same problem, what did you do? How did you vertically 
align your images while keeping wide cross-browser compatibility?

Thanks very much! .....Nick Pelling.....


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to