Removed border attribute from img tag on upload.

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


git-svn-id: http://svn.automattic.com/wordpress/trunk@399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle 2003-09-30 22:37:04 +00:00
parent e0ecd6fe48
commit 616efa0eb9
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;
}