Skip to content

Commit

Permalink
move image border=0 to stylesheet (issue #96)
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldpdl committed Nov 7, 2010
1 parent 30a5f92 commit 69e04a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion catalog/includes/functions/html_output.php
Expand Up @@ -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) . ' "';
Expand Down
4 changes: 4 additions & 0 deletions catalog/stylesheet.css
Expand Up @@ -109,6 +109,10 @@ h1 {
padding-bottom: 5px;
}

img {
border: 0;
}

table, p {
font-size: 11px;
line-height: 1.5;
Expand Down

0 comments on commit 69e04a3

Please sign in to comment.