CSS set horizontal border to two sides of a text code example Example: css text line in middle h2 { text-decoration: line-through; }