Solved

css alignment problem

Posted on 2011-03-01
2
235 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

806 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