Solved

css alignment problem

Posted on 2011-03-01
2
215 Views
Last Modified: 2012-05-11
http://tinyurl.com/4v6h2ox

On this page, the thumbnails of the images are supposed to appear inside the product div, but as you can see they are appearing to the right.

Any idea why this is happening? I cannot find the discrepancy in the CSS
0
Comment
Question by:lvollmer
2 Comments
 
LVL 9

Accepted Solution

by:
sah18 earned 500 total points
ID: 35007979
The problem is coming from the CSS sizing you have applied for the anchor tag:

.item_image a {
    display: block;
    height: 351px;
    width: 329px;
}

The height and width you've set here are causing the offset.  I'd remove them altogether to see if that fixes the problem.
0
 

Author Comment

by:lvollmer
ID: 35008806
thanks!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

747 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