Home > Article > Web Front-end > How to remove edge line in css_html/css_WEB-ITnose
It’s a bit ugly. How to remove it?
#logo { width: 900px; height: 300px; margin: 0 auto; background-image: url(images/bg.png); }
border:0px;
border:0;
or
border:none;
border:0px;
#logo { width: 900px; height: 300px; margin: 0 auto; background-image: url(images/bg.png);border:0px;//或者border-style:none ( 无边框,无论边框宽度设为多大) }
Thank you everyone. It’s an image problem. Fireworks softened it by 1 pixel