行の高さ(line-height)
<html> <head> <title>行の高さ</title> <style type="text/css"> <!-- .c1 { line-height: 150%; } .c2 { line-height: 3; } .c3 { line-height: 70%; } //--> </style> </head> <body> <p class="c1"> 1行目<br> 2行目<br> 3行目<br> </p> <p class="c2"> 1行目<br> 2行目<br> 3行目<br> </p> <p class="c3"> 1行目<br> 2行目<br> 3行目<br> </p> </body> </html>
〔 実行する 〕