[Resolved] Underline on P tag

Home Forums Support [Resolved] Underline on P tag

Home Forums Support Underline on P tag

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2569795
    Jusung

    Hello.

    On this page, I made 아이디 / 비밀번호 찾기 by p tag and it is wrapped by div.

    I want to make a underline of 아이디 / 비밀번호 찾기.
    but the underline is 80% of the text and center aligned and red color.

    Could you help with this?
    Do I need to add Class to P and div tag?

    #2569880
    David
    Staff
    Customer Support

    Hi there,

    you could do it without CSS if you want.

    1. Add a Container Block.
    1.1 set Layout > Display -> Flex.
    1.2 set the Justify Content -> Center.
    2. In the Container Block add a Headeline Block set to P for your text.
    2.1 You can adjust its bottom margin.
    3. Below that headline add another container block.
    3.1 Set its Sizing -> height to 1px and set its Width to what you need.
    3.2 Set the Spacing -> Border Bottom to the thickness you want and set all other values to 0
    3.3 Set the Color -> Border Color.

    #2573167
    Jusung

    Thank you!!

    It works well!

    #2573691
    David
    Staff
    Customer Support

    Glad to hear that!

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