Bearbeiten Sie den Code:
Siehe Ergebnis »
Versuch es selber - ©
w3ii.com
This div element has width: 500px;
This div element has max-width: 500px;
Tip:
Drag the browser window to smaller than 500px wide, to see the difference between the two divs!