Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

css alignment problem

Posted on 2011-03-01
2
Medium Priority
?
259 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
[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 9

Accepted Solution

by:
sah18 earned 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

730 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