WordPress.org

Ready to get started?Download WordPress

Forums

Define length of bottom border? (2 posts)

  1. TomJohnson
    Member
    Posted 6 years ago #

    I have a bottom border under my h2 style in my content, and I want to define its length (not its width). I don't want it to extend so far to the right. Can I put padding or something there or to define its length?

  2. StrangeAttractor
    Member
    Posted 6 years ago #

    The border will extend as far as the h2. If you put padding on the h2, the border will extend as far as the padding.

    It sounds like you are trying to make the border *shorter* than the length of h2. I can't think how you can do by simply modifying the style of the h2.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags