- Create Account

aligning and centering each image

Forums > PhotoMorpher > aligning and centering each image
Author
Message

1) gmn17 Group: Members
Posts: 2 Joined: 15 Nov 2006 Location: Los Angeles IP: 64.80.--.--
if anyone is interested, I have put this script into a table so that the images are centered on the page or in a particular place you want this to happen, here at :

http://www.freewebs.com/gmn17/photomorphInTable.htm
http://www.freewebs.com/gmn17/photomorphTable.htm

there are no spam, popups or google ads at my site.
gmn17@hotmail.com

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.36.--.--
Yup, you can put it anywhere you like in a document; these days you can also use CSS for centring too.

If you're putting examples on your website could I beg a link back to twinhelix.com? Currently it's not clear who wrote the script and people might want to download it :).

Cheers  - Angus.

3) gmn17 Group: Members
Posts: 2 Joined: 15 Nov 2006 Location: Los Angeles IP: 64.80.--.--
I fixed the credits on the pages, sorry about that, the pages are not linked from my site, only from here. I have to be constrained by an antiquated site where I am a content provider. I have to use tables, and I can not have access to the head for a doctype, this is the only way I can do it. If I used your script on my site, I would not need tables. That is why I did not use a doctype for these examples. I have not seen an image script that centers from the top and bottom within a containing div(except for flash and IE only scripts), but from the whole page, I have seen a few. This is an easy way to do both.
gmn17@hotmail.com

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.