Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #639181

    Hey,

    On my site I want to add an HR between two color sections to get a 3px “border” – however, the HR is wrapped in loads and loads of content divs adding 50px of padding top and bottom. How can this be avoided?

    #639571

    Hey,

    Don’t use another element, instead set a custom ID to one of the sections and use this CSS:

    #bordered-section{
    border-top: 3px solid gray;
    }

    Best regards,
    Josue

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.