By moazam on
Hi all, I'm trying to add an image border around an image within a blog post. I've tried the typical img src=blah.jpg border=1, but that does not seem to work. I've tried css tags also, but maybe I'm not using the right ones?
The post is http://www.unixville.com/node/37
I'd just like to get a simple 1 pixel border around that image.
Thanks.
Comments
Ack..nevermind
Ack! Boy do I feel silly. 1 second after I posted, I figured it out. Had to add,
style="border: black solid 1px;"
within the img tag
Image Bordering on a SELECTIVE basis - solution
I'm just writing to bump this article with the current date, since it TOTALLY helped me figure out how to SELECTIVELY border images -- along with a complementary article, which I've linked below. Thank you, Drupal.org posters!!
The dichotomy here may seem like I'm being facetious; I'm not. I am completely serious. With these two articles combined, I now have total flexibility as to which of my inline images have borders (and what kind), and which don't. Very, very sweet indeed.
This article: "Adding an image border"
http://drupal.org/node/59964
Companion article: "Get rid of image border"
http://drupal.org/node/39190
thanx
that helped me.
thank you.
filtered HTML text format is removing the border
Thank you for the useful border tag
style="border: black solid 1px;"I got it to work in Full HTML, but filtered HTML text format is removing it. The filtered HTML text format is set to allow
imgand I addedstyleandborder, but the border still got filtered out. I also tried disabling the "Correct faulty and chopped off HTML" filter, but the border still got filtered off.I presume I'm missing something simple, but I'm still missing it.
Thank you.