Log in

View Full Version : CSS Smart Image Enlarger



Snowhammer
07-28-2011, 04:04 PM
Hi

I'm using the CSS Smart Image Enlarger and was wondering if someone knew how to center the images to the page when they enlarge?

If one looks at this page here Apiaries (http://www.peak-park-conservation-centre.org/apiaries.html) the images on the left go off page.

I would love if possible to keep the size of the photographs the same but center them more if possible.

Any suggestions

Regards

Mark

Snowhammer
08-06-2011, 06:07 AM
Hi, me again

Sorry not to have had a response from someone about my problem.

Have just finished another page for the charity - Roof Appeal (http://www.peak-park-conservation-centre.org/stable-roof-construction.html)

I have changed the direction here "left to right"


.ienlarger a:hover span {

display:block;

top: 40px; /* means the pop-up's top is 50px away from thumb's top */

left: 0px; /* means the pop-up's left is 90px far from the thumb's left */

z-index: 100;



/* If you want the pop-up open to the left of thumb, remove the left: 90px; and add

right: 90px; This would mean the right side of the pop-up is 90px far from the right side of thumb */



/* If you want the pop-up open above the thumb, remove the top: 50px; and add

bottom: 50px; This would mean the bottom of the pop-up is 50px far from the bottom of thumb */

But still no joy!

Any help or ideas would be much appreciated :confused:

Regards

Mark

Deadweight
08-16-2011, 06:21 AM
try playing with the margins =P