Solved

css alignment problem

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
A responsive image gallery using flexbox 6 80
object method as an event handler 8 77
What is the best SEO Web Analytics tool/program 3 60
Pass a js value to an html form 5 43
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
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…
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…
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).

752 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