Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move image border=0 to stylesheet (issue #96)

  • Loading branch information...
commit 69e04a3c0ce6e0966e044750b2c67fc11caeef7c 1 parent 30a5f92
Harald Ponce de Leon haraldpdl authored
2  catalog/includes/functions/html_output.php
View
@@ -80,7 +80,7 @@ function tep_image($src, $alt = '', $width = '', $height = '', $parameters = '')
// alt is added to the img tag even if it is null to prevent browsers from outputting
// the image filename as default
- $image = '<img src="' . tep_output_string($src) . '" border="0" alt="' . tep_output_string($alt) . '"';
+ $image = '<img src="' . tep_output_string($src) . '" alt="' . tep_output_string($alt) . '"';
if (tep_not_null($alt)) {
$image .= ' title=" ' . tep_output_string($alt) . ' "';
4 catalog/stylesheet.css
View
@@ -109,6 +109,10 @@ h1 {
padding-bottom: 5px;
}
+img {
+ border: 0;
+}
+
table, p {
font-size: 11px;
line-height: 1.5;
Please sign in to comment.
Something went wrong with that request. Please try again.