Skip to main content
Inspiring
Nov 13, 2021 12:42 AM UTC
Answered

How to do a horizontal rule in DW CC2021

I use lots of horizontal rules in my layout; they used to be found in the insert/html window. The most recent version of Dreamweaver seems to have deleted this. Is there a way to do horizontal rules without having to go into code?

This topic is closed to new replies. Start a new post to keep the conversation going.
B i r n o u
B i r n o uCorrect answer
Legend
Nov 13, 2021 8:46 AM UTC

here on 21.2 there is still the horizonbar in the insert > HTML menu

 

7 replies

Nancy OShea
Community Expert
Community Expert
Nov 13, 2021 7:08 PM UTC

The <hr> tag is all you need.

 

Translate
Nancy O'Shea— Product User & Community Expert
B i r n o u
Legend
Nov 13, 2021 8:56 PM UTC

the OP said, without having to go into the code 🙂

Translate
Nancy OShea
Community Expert
Community Expert
Nov 13, 2021 9:31 PM UTC

Typing <hr> is so much quicker and easier than clumsy panels.  There's no reason not to know the code for it. That's why Dreamweaver has Code View. 😘


And for anyone who wants très chic horizontal styles,  CSS Tricks has some cool examples to copy & paste into your own stylesheet.  Give it a try.

https://css-tricks.com/examples/hrs/

 

Have fun & happy coding!

 

Translate
Nancy O'Shea— Product User & Community Expert
B i r n o u
Legend
Nov 13, 2021 8:47 AM UTC

ans also in the menu bar (fourth one before the end)

 

Translate
B i r n o u
B i r n o uCorrect answer
Legend
Nov 13, 2021 8:46 AM UTC

here on 21.2 there is still the horizonbar in the insert > HTML menu

 

Translate
Inspiring
Nov 13, 2021 9:10 PM UTC

Wow, I don't know how many times I scrolled down that list and didn't see it (it used to be near the top). Maybe it helped that your snip was in French and I had to put my brain in gear and translate!

Thanks!

 

Translate
B i r n o u
Legend
Nov 13, 2021 9:20 PM UTC

yep, I agree that it should be more accessible, perhaps that you could create a specific shortcut, if you have to use it very often, or use the insert panel as a document tab (ahead of the document itself) and click on the icon.

 

Translate