Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I center these photos and galleries?

Posted on 2011-09-03
2
Medium Priority
?
226 Views
Last Modified: 2012-05-12
I have a site that I am building here: http://rentawebguy.net/bgp/index.php?option=com_juliaportfolio&view=juliaportfolio&layout=detail&catid=4&Itemid=61

I need to center the four columns on the page and then center each photo inside the columns.

I've tried different things and nothing I do works.

Any help would be appreciated.
0
Comment
Question by:Donnie Walker
2 Comments
 
LVL 16

Accepted Solution

by:
HagayMandel earned 2000 total points
ID: 36479610
From .itemimage remove the float:left rule, so all images will be centered in their containing divs.
It;s better that all thumbnails will be generated to the same dimensions, so the layout will be nice and clean.
See this tutorial for more.
0
 

Author Closing Comment

by:Donnie Walker
ID: 36480196
thanks!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question