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:
parent
e0ecd6fe48
commit
616efa0eb9
|
@ -207,7 +207,7 @@ if (!empty($HTTP_POST_VARS)) { //$img1_name != "") {
|
||||||
|
|
||||||
|
|
||||||
if ( ereg('image/',$img1_type)) {
|
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 {
|
} else {
|
||||||
$piece_of_code = "<a href="$fileupload_url/$img1_name" title="$imgdesc" />$imgdesc</a>";
|
$piece_of_code = "<a href="$fileupload_url/$img1_name" title="$imgdesc" />$imgdesc</a>";
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
Please tweak this and make it your own. :)
|
Please tweak this and make it your own. :)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
a img {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: #675;
|
color: #675;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue