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