Over a million developers have joined DZone.

Center Text

DZone's Guide to

Center Text

Free Resource
// center horizontally
// text-align:center for internet explorer, margin:auto for firefox

the text
// center vertically with table
the text
// or without table (only firefox, .. / not in internet explorer <=6!)
the text

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}