WordPress.org

Ready to get started?Download WordPress

Forums

Image borders - some with and some without? (5 posts)

  1. reevo
    Member
    Posted 10 years ago #

    Hi all,
    Now I'm sure that this can be done, however, I don't really know how!
    At the moment I have borders around all the images in posts as defined by the css.
    However, I would like to exclude borders on certain images (just the odd few) if possible.
    I can imagine that I could have some kind of .border kind of thing in the css that overrides the other border code if I use a class=border kind of thing within the post?
    Does that make any sense to anyone???
    Is it possible? If so...how?
    Thanks for looking in people.
    Reevo

  2. shadow
    Member
    Posted 10 years ago #

    In order to add borders or take borders away for specific images, just add it in your post. Use the border="0" tag to take away or border="1" to add.
    It adds a bit more typing but should produce the results you want. If you use it frequently you could add a quicktag...
    It's one option anyway :)

  3. reevo
    Member
    Posted 10 years ago #

    mmm, doesn't seem to do the trick either

  4. jumbo
    Member
    Posted 10 years ago #

    img.no-border {
    border: none !important;
    }

  5. NuclearMoose
    Member
    Posted 10 years ago #

    Link, please. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.