http://www.flirtwithme.co/main.php#upgrade
On this page there is a blue box image that has a grey border around it. I\'ve been trying to remove the border without lu
There's no point using an > tag if you're going to use CSS background for the image. In an
tag the
src
attribute is used to specify the foreground image, and it is a mandatory attribute for this tag. Leaving it out will have unexpected results, such as the border effect you're seeing, but this may vary from browser to browser.
If you want to use CSS If you want to use an The point here is semantics. An image in an You should use the method which matches the purpose of your image in the site.background-image
, just use a different HTML tag (eg tag then you need to use the
src
attribute, and not define it in CSS. tag is assumed to be part of the content of the page, hence the image is specified in the HTML code, whereas by defining an image in CSS, you are saying that it is part of the design, and not content.