About 293,000 results
Open links in new tab
  1. html - How to decorate an <hr/> tag - Stack Overflow

    Apr 5, 2017 · On a side note, it would be best to add this style to an external or internal style sheet instead of adding it inline. This way, you can have a standardized hr element for your entire website, …

  2. html - How to style up a hr tag - Stack Overflow

    Nov 23, 2015 · I would like to style up a <hr /> tag but can't seem to find an answer online anywhere that works. I want to change the color and thickness if this is possible?

  3. html - Changing the color of an hr element - Stack Overflow

    Learn how to change the color of an hr element in HTML using CSS techniques and examples provided by the Stack Overflow community.

  4. How can I change the thickness of my <hr> tag - Stack Overflow

    731 For consistency remove any borders and use the height for the <hr> thickness. Adding a background color will style your <hr> with the height and color specified.

  5. html - How to create a dotted <hr/> tag? - Stack Overflow

    May 29, 2013 · Learn how to create a dotted horizontal line using HTML and CSS techniques on Stack Overflow.

  6. What is the right way to create a horizontal line with HTML and CSS?

    My simple solution is to style hr with css to have zero top & bottom margins, zero border, 1 pixel height and contrasting background color. This can be done by setting the style directly or by defining a …

  7. css - Styling the <hr /> element - Stack Overflow

    Aug 31, 2016 · I am trying to make my <hr /> (hr) element pinkish, and am using the following css rule for this: hr {height: 1px; color: #ed1d61;background-color: #ed1d61; } But there is still a black line

  8. html - How to style <hr> to have multiple colors? - Stack Overflow

    9 I need to create <hr /> such as this: . I am working with bootstrap and I have been searching for a long time on the getbootstrap page and on the internet as well. I can't find what I am looking for, so I hope …

  9. html - How to set background-color on <hr> tag? - Stack Overflow

    Jan 31, 2017 · by default browser rendering, hr tag gets it's color from border-bottom-color property of CSS. You can overwrite it by targeting the border-color property. And it even works if you just give a …

  10. html - How to adjust the width of a horizontal rule element - Stack ...

    It seems that is not the hr tag. probably it's the border bottom for the span container the text. so the width of the span will define the line width. use padding for the span to adjust the line-width. I did a …