-2

Please open the below link in chrome browser and try to remove the border without affecting the design. The are blue buttons with border if you see in chrome or ie browsers.

http://web-chief.co.uk/podocare/?page_id=136

i tried various methods but still no progress.

Please don't mark this as duplicate question as i have tried all the soln available here with no result.

3 Answers3

1

You have to give value of src to img tag in order to work else border will appear.It means that src="" or src or src="nonexistingURl.jpg" is unable to find your image.

<button>No border<img height="50" width="50" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQRG38VK4-kYeMdF1fQ6RbhfDoUjbE8smcnFrvJrVg5n1xwP4tN"></button>

<button>Default border<img height="50" width="50" src="noValidUrl.jpg" alt="Image not found"></button>

In firefox, if src of img tag is invalid then it doesn't show any box which is behavior of browser.

In chrome- Box will be shown saying that there some image missing here.

Solution: If you are not using img tag then remove it else give valid url to img tag using your wordpress.

Shoaib Chikate
  • 8,665
  • 12
  • 47
  • 70
0

My guess: The border you see is applied by the browser to alert user that the image source is missing or empty. You cannot place img in html without specifing the image src , otherwise every browser will affect the design and show the frame.

MRSoft
  • 77
  • 3
0

I guess you are using Google Map Lightbox Popup wordpress plugin

As it is shown in their settings panel, if you check the checkbox to show a custom image instead of theirs you should include the image path. Without the image path it will generate the img tag without the src attribute just like in your case. So either insert a custom image (for example the blue box with the arrow) or you would have to rework the plugin files.

enter image description here

Bojan Petkovski
  • 6,835
  • 1
  • 25
  • 34