Have you tried changing the stylesheet / css?
Thread Starter
broomy
(@broomy)
Hi podz, what would I need to look for as i’m not sure what would control the border of a linked image.
Thanks for your help.
If that works (from your post):
echo __('<img src="'.get_settings('siteurl').'/wp-content/plugins/report_posts/flag_red.png" style="margin-right:10px" alt="Flag this post" />') . '';
Then this should show it without borders:
echo __('<img src="'.get_settings('siteurl').'/wp-content/plugins/report_posts/flag_red.png" style="margin-right:10px;border:none;" alt="Flag this post" />') . '';
But Podz is right, you should try to keep styles in the stylesheet ;’)
Thread Starter
broomy
(@broomy)
So would something like this be the best option:
echo __(‘<img src=”‘.get_settings(‘siteurl’).’/wp-content/plugins/report_posts/flag_red.png” class=”postoptions” alt=”Flag this post” />’)
With the css like this:
.postoptions {
margin-right:10px;
border:none;
}
Probably a basic question, but then I really am basic at css!
Thanks for your help.
Thread Starter
broomy
(@broomy)
Ah good, thanks for your help Yosemite and podz 🙂