html - how to remove default border/outline from image -


Hey guys, I want to know how to remove the border / framework from the image tag, it includes the image of For example,

HTML

  & lt; Img src = "" class = "testclass" & gt;  

CSS

  .testClass {width: 100%; Margin-left: 0%; Height: 150px; Border: 0 pixels; Profile: None; }  

You see that the browser's "broken image URL" image is that The thing is that the browser can not load the image. There is no limit; The browser just renders something so you can see how big the missing image is. Therefore, you can not influence the result with CSS.

What you can do display: any is not to completely hide the image. If you want empty space, then it's a Wrap in div .


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -