Hello,
[B]A. CONTEXT
My album is generated by a batch script, but DOS cannot get the size of an image file. So, the a unique picture size is defined in the script.
[url]http://www.airfirst.ch/b1/album_im.html
[url]http://www.airfirst.ch/b1/album_div.html
[B]B. NAVIGATION
– 2 half sensitive zones on each picture.
– Click on the left/right image side to go up/down.
[B]C. QUESTION
To avoid the problem with pictures having different size (pic. #2 [url]http://www.airfirst.ch/b1/PiCS/Pic002.JPG
how to make the DIV box to fit its content instead of using absolute value like:
[CODE]DIV.Box {position:relative;width:360Px;height:240Px;margin:10Px 0;}
?
PS: in my case, I use the image as backround of a DIV
Thanks and regards.