Answer the question
In order to leave comments, you need to log in
How to remove border around absolutely positioned image in Chrome?
<div class="section">
<img class="i1">
</div>
.section {position:relative}
.i1 {
background: url (1.png) no-repeat;
position:absolute;
top:-40px;
left:-40px;
outline:none;
border:none;
}
Answer the question
In order to leave comments, you need to log in
<div id="section">
<div></div>
</div>
#section {position:relative; }
#section div {
background: url (1.png) no-repeat;
position:absolute;
top:-40px;
left:-40px;
}
border: 0 !important;
In general, this should not be, maybe you have a link hanging on it or a picture like that. Feel free to post an example in the fiddle.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question