Tuesday, 10 May 2011

Finally removed black line under images!!

This morning I have finally figured out how to remove the black line underneath my images.

Every time I uploaded a new product, it showed this black line underneath the image and above the text. I did not want it to be there so I checked all my CSS and I could not see why it would be doing this. I then viewed the page in firefox and right clicked on the image and clicked 'view image'. This opened the image on a web page on its own and it showed the black line was part of the image. I then thought the height I have set for the thumbnails on upload might be too big. So I opened my PHP file in dreamweaver and changed the height of the thumbnail from 180px to 175px:





I then tried uploading a product using my upload form and when I looked after I had uploaded it, the black line had disappeared!

1 comment:

  1. The gift is great. Thank you your post. I have a link website quà tặng tết. Follow me!

    ReplyDelete