Image Border

General ShopSite user discussion

Image Border

Postby midfin » Thu Sep 18, 2008 9:22 am

How do you get the border to wrap around the actual photo? The borders are extending past the photo. I do have the border set in my style sheet.

http://65.18.171.175/wedding.html
midfin
 
Posts: 31
Joined: Fri Sep 05, 2008 11:58 am

Image Border

Postby BFChris » Thu Sep 18, 2008 10:02 am

You could try applying the border2 class directly to the image rather than wrapping the image in a <div> tag. I suspect the <div> tag is getting some default padding. Alternately, try setting the padding of the border2 to 0.
~~Barefoot Chris
--------------------------------
Barefoot Chris Web Design
www.barefootchris.net
--------------------------------
BFChris
 
Posts: 322
Joined: Mon Oct 09, 2006 3:28 pm
Location: PA

Image border

Postby utz119 » Thu Sep 18, 2008 10:06 am

Hi

It's nice looking site! I love it.


.border2 should be in the img tag.

This should create borders around the image.

<a href="http://65.18.171.175/product19.html">
<img src="http://65.18.171.175/media/ss_size2/moonglow.jpg" alt="moonglow.jpg" class="border2" height="125" hspace="0" vspace="0" width="125"> </a>


Tina
utz119
 
Posts: 49
Joined: Thu Mar 29, 2007 2:46 pm
Location: New York


Return to User Forum

Who is online

Users browsing this forum: No registered users and 24 guests