I've done a lot of searching but nothing I try works. How can I center the images my thumbnail images when my gallery is being viewed?
~Death Dream~
I've done a lot of searching but nothing I try works. How can I center the images my thumbnail images when my gallery is being viewed?
~Death Dream~
Play with the css and margin-auto. It's always theme depended
float: left; is what causes the trouble. If you'd add a width variable (which is necessary for content within a floated div to center), it wouldn't work right when you have a dynamic amount of thumbnails showing on each page. I replaced float:left; with display: inline; and added a margin: 0 auto; and text-align: center; and now it's centered perfectly.
Thanks for your note
I tried doing what Chanty said and it didnt work, any ideas on what to do if it doesnt work with that ?
This topic has been closed to new replies.