• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

divs ohne Abstand nebeneinander

FireHomer00

Neues Mitglied
Hi,
ich möchte gerne divs ohne Abstand nebeneinander darstellen aber bei mir gibt es immer einen kleinen Abstand. Wie kann ich das Problem beheben?
Code:
<html>
    <body>
        <div>
                    <div style="display: inline; border:solid 1px #C2C2C2; background-color:#F2F2F2; height:16px; font-size: 11px; color:#777777; padding-left:10px; padding-right:10px;">Test 1</div>
                    <div style="display: inline; border:solid 1px #C2C2C2; background-color:#F2F2F2; height:16px; font-size: 11px; color:#777777; padding-left:10px; padding-right:10px;">Test 2</div>
                <div style="display: inline; border:solid 1px #C2C2C2; background-color:#F2F2F2; height:16px; font-size: 11px; color:#777777; padding-left:10px; padding-right:10px;">Test 3</div>
                
            </div>
    </body>
</html>
 
Werbung:
Zurück
Oben