center link text css code example Example: css how to center a link #d1link {display:block;text-align:center}