Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

css alignment problem

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

916 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