I want to display an image in the place of a horizontal rule(HR). But if user turned off "Display Image", then I want to show the simple horizontal rule. Is it possible?

2 answers

This was chosen as the best answer

Use both the hr and an image and position the image (using position:relative;) so that it covers the hr element.

images off and they'll see the hr element.

Answered almost 7 years ago by Tony Crockford
kemie 247

or set the image as a background of the hr with css

Answered almost 7 years ago by kemie