How to delete image border in FF for WP??

by alanaj
5 replies
  • WEB DESIGN
  • |
I'm trying to remove the image borders on this page:


My theme comes with a custom CSS box so I can add new code if need be. I've added the following code but it only removes the border in IE.

.page-id-2105 img { border: none !important; }


I want to be able to remove the borders on specific images or on all images on specific pages in all browsers.


Thanks in advance for your help!
#border #delete #firefox #image #wordpress
  • Profile picture of the author pinterest01
    i'm using ff, i didn't see any border of ur image on the page.
    what ff version that u used?
    {{ DiscussionBoard.errors[6136905].message }}
  • Profile picture of the author mmrumii
    I don't see anything other than a single page with an image and that image doesn't have a border (using firefox).
    Try putting this in your style.css (at the very bottom)
    img {
    border: none;
    }
    {{ DiscussionBoard.errors[6138372].message }}
  • Profile picture of the author iobeek
    Try this :

    a img { border: none; }

    if you have images as links.

    I just checked your css. You have this :

    .post_columns .column .image a, .post_grid li a, .category_list li .image a, .tab li .image a, .flickr div a, .full_posts .image a, #content img, #author .image, #related .column .image a, #comments li .image{
    padding:2px;
    border:1px solid #c6c6c6;
    -webkit-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
    margin:0 0 27px 0;
    display:block;
    }

    It seems you have assigned shadow and border to some other classes that are supposed to be images as well. Check those as well but first remove the red one.
    Signature
    Are you ready for some usability scrutiny? Click Here

    {{ DiscussionBoard.errors[6138404].message }}
  • Profile picture of the author wfcheapseo
    iobeek is right. Do this to remove the shadows.
    {{ DiscussionBoard.errors[6139399].message }}
  • Profile picture of the author alanaj
    Thanks everyone for all your feedback! It was the shadows. All set now.
    {{ DiscussionBoard.errors[6142205].message }}

Trending Topics