So I am coding a new design portfolio for myself in wordpress and I have a problem. One of the things my portfolio will do is grab the excerpts from posts and show them on the front page. These excerpts will be thumbnails of designs I have made. Now what I have is this: <div class="design"> <a href="<?php the_permalink() ?>" class="design-link"><?php the_excerpt(); ?></a> <div class="d-desc"><?php the_title(); ?></div> </div> Code (markup): The excerpt is the thumbnail and the title is the description of the design. So I want the thumbnail to, when clicked, take you to it's own page. This IS working, but the border that is automatic around image links won't go away. I am sure this is because of the <p> tags around the excerpt that wordpress puts but I can't figure out how to fix this!