Search code examples
htmlcoldfusioncfdocument

<hr> in coldfusion cfdocument


I am using a hr tag in my cfdocument and it is displaying very thickly like below

enter image description here

I just want a basic thin line. I tried giving the style as hr{ height:0} but it is not helping. Please advice.


Solution

  • <p>blah</p>
    <hr />
    <p>blah</p>
    

    Set the border to none, and then set a border-top property:

    hr { border:0 none; border-top:1px solid #000 }
    

    JSFiddle Demo