Permalink
Browse files

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

  • Loading branch information...
1 parent 30a5f92 commit 69e04a3c0ce6e0966e044750b2c67fc11caeef7c @haraldpdl haraldpdl committed Nov 7, 2010
Showing with 5 additions and 1 deletion.
  1. +1 −1 catalog/includes/functions/html_output.php
  2. +4 −0 catalog/stylesheet.css
@@ -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) . ' "';
View
@@ -109,6 +109,10 @@ h1 {
padding-bottom: 5px;
}
+img {
+ border: 0;
+}
+
table, p {
font-size: 11px;
line-height: 1.5;

0 comments on commit 69e04a3

Please sign in to comment.