Center contents on a HTML webpage
Geschrieben am 07. November 2009 von Oliver1 Kommentar »
Tags: Solutions, Web
I needed to look up how one can center the whole contents on a webpage by using CSS (the <center>-Tag is of no use anymore, as it will fall away with HTML 5).
I didn’t know it is so easy:
body { margin: 0 auto; width: 740px; }









1 Kommentar
Kommentare
hi oli
i würd das aber nöd uf dä body leggä sondern uf en div “content” zum bsp…