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;}
One thought on “Center contents on a HTML webpage”
hi oli
i würd das aber nöd uf dä body leggä sondern uf en div “content” zum bsp…
hi oli
i würd das aber nöd uf dä body leggä sondern uf en div “content” zum bsp…