Removed border attribute from img tag on upload.

Added no border style for image anchors
http://wordpress.org/support/4/658


git-svn-id: https://develop.svn.wordpress.org/trunk@399 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little 2003-09-30 22:37:04 +00:00
parent 2cdc9f218c
commit 7d0efb9ddb
2 changed files with 5 additions and 1 deletions

View File

@ -207,7 +207,7 @@ if (!empty($HTTP_POST_VARS)) { //$img1_name != "") {
if ( ereg('image/',$img1_type)) {
$piece_of_code = "<img src="$fileupload_url/$img1_name" border="0" alt="$imgdesc" />";
$piece_of_code = "<img src="$fileupload_url/$img1_name" alt="$imgdesc" />";
} else {
$piece_of_code = "<a href="$fileupload_url/$img1_name" title="$imgdesc" />$imgdesc</a>";
};

View File

@ -3,6 +3,10 @@
Please tweak this and make it your own. :)
*/
a img {
border: none;
}
a {
color: #675;
}