Right align images in slideshow

madamy / 2010-10-08 10:19:46   

Hi, I'm trying to right align all the images of different sizes in my slideshow. Is this possible? I was able to do this with the random images on the home page only because I made the images all the same size by giving them a white background. Is this the only solution? It seems that CSS can fix an image, but only the top left corner of the image. I would like to fix the top right corner of the image. The site is temporarily here: http://www.yellowboxphoto.com/indexhibit/

I searched the forum quite a bit, so I hope this hasn't been answered already. Thanks!

madamy / 2010-10-14 14:30:18   

Hi again, I've created a test file and was able to right align my images using css here: test

However, when I place the same code in the index.php file, there is no effect. Here is the code I inserted in the index.php file:
    < div id='content'>

    < !-- text and image -->
    < p class="right">< /p>
    < !-- end text and image -->

    < /div>

Any help would be greatly appreciated! Thanks in advance!

flashbar / 2011-02-01 22:29:46   

One way I did this is by inserting this bit of code into your exhibit through Indexhibit's editor just like you would to describe the exhibit before uploading files. Be sure to have Main Settings set to Advanced Mode ON, and Process HTML set to ON in your exhibit.

  1. <img src='/filepath/yourimage.png' style="position: absolute; right: 30px; top: 0px;">

Don't try to manipulate it through your FTP by editing the index.php file

So, to be clear on the code:
the [img src="...] needs to read wherever you dropped this file
the [style="position: absolute; right] sets it to the right
This goes on to move the location 30px from the right side, and 10px from the top

Hope it works for you

This thread has been closed, thank you.