html - How to remove borders around a contained image link? -
there border around container white in color. tried border: 0; rule doesn't remove @ all.
edit: http://mpkosis28.com
css:
class="snippet-code-css lang-css prettyprint-override">#content { height: 350px; width: 700px; margin-left: auto; margin-right: auto; border: 0; text-align: center; } #content img { top: 30%; left: 50%; width: 50%; background: url(../images/awd/boxas.png) no-repeat center; background-size: cover; height: 300px; } #content img { border: 0; }
class="snippet-code-html lang-html prettyprint-override"><div id="content" align="center"> <h1 class="centeredimage"><a href="http://goo.gl/forms/oxbzkgpfzk"><img></a></h1> </div>
this must work:
#content img { border: none; }
html css
No comments:
Post a Comment