I want to add a black 1 pixel border to most, but not all, of the images that I post to my blog, including those that are also links.
What’s the best technique for doing this. I’d be particularly interested in utilising css rather than simply adding the ‘border’ tag using the HTML editor.
It would be nice if the WP image system allowed me to assign a class when I upload, but I guess I’m going to have to add a class to my stylesheet and then assign the class to any relative images using the HTML editor.
If so, what code do I need to add to my stylesheet? And what code will I need to add to a post when I include an image which I want to have a border?
- The topic ‘Adding a border to selected images’ is closed to new replies.