Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an image gallery made with JQuery(no plugin). I am trying for few days to figure out how to make the active thumbnail to be in center of it's <div>.

Following is a picture of what I'm trying to achieve:

http://i.stack.imgur.com/qADVh.jpg[^]

For the learning purpose I didn't wanted to use a plugin, now I am stuck at this. Also because I am new to JQuery.

This is a basic jsfiddle of the project I am working on.

jsfiddle

Any advice is highly welcome. Thanks!
Posted
Updated 4-Nov-14 7:57am
v3
Comments
Manas Bhardwaj 4-Nov-14 16:28pm    
The jsFiddle you provided does not match your description and image.

1 solution

Specify following CSS:

CSS
div#big-image {
text-align: center;
}


Also refer this jsFiddle.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900