Solved

How do I center these photos and galleries?

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
In this Micro Tutorial viewers will learn how to create a CSS image sprite (In a later tutorial, viewers will learn how to use CSS and HTML to create a navigation menu using this sprite) Open a new Photoshop document with a width of (Icon width)x(N…
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…

744 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

11 Experts available now in Live!

Get 1:1 Help Now