Styling <hr>
17th June 2002
Interesting thread today on css-discuss about styling <hr> elements. I had tried this before with no luck, but the thread provided some useful tips. Marek Prokop provided this tutorial, and Kevin W responded with these tips on styling <hr> in Opera. Michael Guitton suggested that setting width: 100%;
could help fix problems with Netscape 6.
I currently use <hr> tags on this blog in between every article, but I have used CSS to prevent them from displaying. This is to ensure that browsers which do not interpret my stylesheet (such as Netscape 4) will still display some kind of divider between entries.
More recent articles
- Large Language Models can run tools in your terminal with LLM 0.26 - 27th May 2025
- Highlights from the Claude 4 system prompt - 25th May 2025
- Live blog: Claude 4 launch at Code with Claude - 22nd May 2025