Solved

How do I center these photos and galleries?

Posted on 2011-09-03
2
218 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 500 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Creating a CSS block that only applies to printing By default, all of your CSS applies to every possible view of your page - whether on screen, printed, landscape, touch-screen, or whatever.  You can, however, add CSS that only applies under certai…
When applying CSS to your HTML, there are many different ways to select which element(s) the CSS applies to.  Some of these selectors are more commonly known and used than others - Here are the more common ones: #X - Matches an ID of X .X - Matche…
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

930 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now