Help - Search - Members - Calendar
Full Version: Change image border color
Movable Type Community Forum > Additional Resources > Tips and Tricks
Ralph Wiggum
I have an image on my blog that has a border around it. I like the border effect but I want to change the color of the border. Does any one know how I might do this? huh.gif
micahgoulart
If this image has a link around it, you'll need to remove the border and add a style definition to it:

CODE
<img border="0" style="border: 1px solid white;">


etc.
notasitseems
Is there a plugin that can do this automatically when you create an entry with an image in it when using the "Upload File" feature?
jayseae
You might be able to create a plugin that would do it, but you would probably be better off updating your stylesheet for the img tag to change the border to be whatever color you would like. Then you only need the img tag. If you only want it in certain places, then place your entry body in a div and only style the img when it's inside that div.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.