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
- Image segmentation using Gemini 2.5 - 18th April 2025
- GPT-4.1: Three new million token input models from OpenAI, including their cheapest model yet - 14th April 2025
- CaMeL offers a promising new direction for mitigating prompt injection attacks - 11th April 2025