Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS “hr” tag over “border” property Re: “hr” tag over “border” property

#141584
Kitty Giraudel
Participant

> In theory, the tag will be one more element to be rendered so I’m assuming the best way to do this is by using the CSS property.

Do it with a border if you can do so, definitely.
If you need something more fancy than a border, use a pseudo-element falling back to a border.
If you need something more fancy than a pseudo-element, use a data-url encoded image.

Edit: “fancier”?