Member
Member
Pierrot   25-03-2008, 04:31
#1

Hi Again,

I know that this topic has been brought up before - I have read all of the post but still need to ask!

I would like to do 2 things...

  1. Center all of my thumbs.
  2. Center the main image.

I played around with the code but couldn't get it to work.

Thanks for your help!

P

Member
Member
sbillard   25-03-2008, 15:10
#2

Centering is a function of the CSS.
http://www.zenphoto.org/support/topic.php?id=2599&replies=16

Member
Member
Pierrot   25-03-2008, 17:22
#3

Thanks for the link - I actually read through that one and tried this...

.image {
border: 0;
text-align:center; / attempt to center Image Page image /
margin-top:0px;
margin-bottom:0px;
padding:0px;
}

in the defult/white/css but with no luck. I hacked around the css for quite a while. I change a lot of thigs but could never get the main image to center. The image I'm talking about is the larger one that come up when you click on a thumbnail.

Am I missing something?

Member
Member
Pierrot   29-03-2008, 06:11
#4

Thanks, I got it!

Member
Member
macalter   30-03-2008, 17:19
#5

PLEASE SHARE Pierrot, I'm still trying (to center thumbnails within the #main "box".

Member
Member
Pierrot   31-03-2008, 00:25
#6

Sorry, I should have been more specific... my 'I got it' was in reference to the main image. For which I used...

image {


text-align: center;
line-height: 0;
}

As for the thumbnails, I've had no luck!

Let me know when you succeed!

P

Member
Member
macalter   31-03-2008, 02:57
#7

I'm "cheating" for now. I resized the #main area to width: 640px; and it's looking better. Will probably tweak it down a bit more as the right side is a bit wide still for 5 thumbs. But, that's for the size I used for thumbs. Yours will vary.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.