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:
parent
2cdc9f218c
commit
7d0efb9ddb
@ -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>";
|
||||
};
|
||||
|
@ -3,6 +3,10 @@
|
||||
Please tweak this and make it your own. :)
|
||||
*/
|
||||
|
||||
a img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #675;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user