Remove Border From a Web Graphic

by 2 replies
3
This is probably a no-brainer request, but how do I prevent a border from displaying around a graphic I have on my WP blog?

I've set up border ="0" in the attributes, but it still displays in a box.

Thanks in advance ;-)
#programming #border #graphic #remove #web
  • Your CSS file is probably responsible for the border showing up - you can either strip the border declaration from your CSS file, which will remove the borders from all similarly placed images, or when you can be selective about it - here's how:

    When you want to place an image without a border in your page, use the following attribute:

    Code:
    style="border: none;"
    Let me know if that helped any.

    Andrew E.
  • Hi Andrew

    Worked beautifully. Thanks ;-)

    Anne

Next Topics on Trending Feed

  • 3

    This is probably a no-brainer request, but how do I prevent a border from displaying around a graphic I have on my WP blog? I've set up border ="0" in the attributes, but it still displays in a box.