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