Solved

How do I center these photos and galleries?

Posted on 2011-09-03
2
222 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Css regex 6 52
WordPress navigation menus: how to change color when clicked 10 44
CSS question 16 62
css messed up 8 26
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…
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer…
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

739 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