-
Vertical align of image in DIV with height:100% ???
Hello everyone!
What I'm trying is to center vertically an image in DIV Tag which has height:100% and width:100%. I did it with a table, but I want also the image to be resizable when resizing the window. I use this code, but that's not a resizable image in the center of the window:
<div id="pu" style="position:absolute; top:0px; left:0px; height:100%; width:100%"><img src="" id="bu" height="80%" vspace="30" hspace="30"><div/>
Any help is appreciated, thank you for your time 
Stoycho
-
-
Hmmm, I guess it's impossible as the way as I want it 
I accept also scripts for this, but couldn't find any in the forum. All of them are for Image Galleries, but with absolute sizes(px). The idea is: vertically center image on the window and resizable when resizing the window. And also I'll need a script for swapping and fading this image with another... I guess I want too much 
Or maybe it's better to ask the right question: is there somewhere in DD an Image Gallery with fading out/in effect for the images and these images to be resizable with resizing the window/page/resolution?
Last edited by beberon; 06-06-2011 at 01:15 AM.
-
-
-
-
Alright guys, I think I did something like a vertical align with resizable image, but using frames which is not good for the next scripts I'll use, I mean it doesn't work for me really. You may see on: www.stdobrev.com/architecture.html in "arthill" link.
So, is it possible the same effect, but all in just one page? Please help me just a little
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks