Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Remove Border From a Web Graphic (https://www.warriorforum.com/programming/86605-remove-border-web-graphic.html)

AnniePot 23rd May 2009 04:04 PM

Remove Border From a Web Graphic
 
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 ;-)

Andrew E. 23rd May 2009 10:22 PM

Re: Remove Border From a Web Graphic
 
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.

AnniePot 24th May 2009 09:07 AM

Re: Remove Border From a Web Graphic
 
Hi Andrew

Worked beautifully. Thanks ;-)

Anne


All times are GMT -6. The time now is 10:30 AM.