Yes, I prefer to use hr as well. I read that screen-readers prefer it. In fact, I don't even bother giving the horizontal rule a class. I answered the OP without bringing up these secondary issues.
To be clear however, when using the horizontal rule to do that job, it is best to keep things simple and not bother combining it with the pseudo-element technique.
Last edited by Brett Merkey; 04-21-2024 at 09:14 AM.
Reason: to be clear...
|