How to get rid of hairline between two divs in html/css? -
i have 2 elements close possibly can them. if you're curious, first scroll-to-top script user can click, , below flat background. hairline annoying me.
any appreciated!
/*scroll top*/ .scroll-top-wrapper img{ width: 134px; display: block; margin-left: auto; margin-right: auto; cursor: pointer; } .border_background{ background: #162a53; height: 416px; } ...
<!-- scroll top --> <div class="scroll-top-wrapper"> <span class="scroll-top-inner"> <img src="../images/misc/scroll_to_top.svg" onmouseover="this.src='../images/misc/scroll_to_top_hover.svg';" onmouseout="this.src='../images/misc/scroll_to_top.svg';" /> </span> </div> <!-- light-colored border --> <div class="border_background"> ....
try adding reset file. or margin: 0; remember html tags have default style rules have rid of them.
Comments
Post a Comment