About 162,000 results
Open links in new tab
  1. What is the right way to create a horizontal line with HTML and …

    Learn how to create a horizontal line in HTML and CSS effectively.

  2. Add centered text to the middle of a horizontal rule

    Add centered text to the middle of a horizontal rule [duplicate] Asked 15 years, 7 months ago Modified 4 years, 5 months ago Viewed 422k times

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

    I want to change the thickness of my horizontal rule (<hr>)in CSS. I know it can be done in HTML like so - <hr size="10"> But I hear that this is deprecated as mentioned on MDN here. ...

  4. html - CSS technique for a horizontal line with words in the middle ...

    HTML markup isn't as elegant top property on .line element needs to be half of line-height. So, if you have a line-height of 1.5em, then the top should be -.75em. This is a limitation because it's …

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

    This Stack Overflow thread discusses how to adjust the width of a horizontal rule element in HTML and CSS.

  6. css - Add a hr horizontal rule in html page - Stack Overflow

    Feb 13, 2023 · In my page, i have a Col which contains of an image container and below it i would like to add a banner. I want to add a hr or horizontal rule to separate the two as follows As you …

  7. Horizontal rule/line beneath each <h1> heading in CSS

    Jul 1, 2014 · In case, you want to use the float:left, float:right properties, then you have to use width:100% property also. padding-bottom is to optionally give some space between the text …

  8. 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.

  9. html - How to change color of <hr/> element? - Stack Overflow

    Mar 13, 2014 · -1 To change the color of your horizontal rule, in your <hr/> tag, type the html attribute color="". Then you can go ahead giving it the desired color.

  10. Is there a vr (vertical rule) in html? - Stack Overflow

    Feb 21, 2009 · Explains the absence of a vertical rule tag in HTML and discusses alternatives for creating vertical lines in web design.