Indents

Krothos
Krothos

How does one create an hanging indent in a paragraph, where all the lines after the 1st is indented 20 px?

<ul style="margin-left:15px;text-indent:-20px;"><span style="font-size:16px;">*Adaptation:* Requires a standard action to activate/change, and is a free action to deactivate. Adaptations are selected at same levels as the replaced Favored Terrain ability

This is what I'm come up with so far, but it's making my 1st line indented and the following lines aligned with the margin.

Thanks in advanced!

 

Comments

  • Johnprime
    Johnprime
    Posts: 220 edited September 12

    I believe this should do what you are looking for.

    <ul style="padding-left: 28px;text-indent: -28px; ">< span style="font-size:16px;">*Adaptation:* Requires a standard action to activate/change, and is a free action to deactivate. Adaptations are selected at same levels as the replaced Favored Terrain ability

    Post edited by Johnprime on

    Johnprime

    Deadwood Deacon Banner

    Where the west is really wild!

    The Valley of Life Banner

    The Valley of Life

  • Krothos
    Krothos
    Posts: 118

    Yes, thank you.

     

Sign In or Register to comment.