Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Twitter Bootstrap and <p> default height: why 28px?
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
- <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
- <style>
- p {
- border:1px solid red;
- font-size:55px;
- }
- </style>
- </head>
- <body>
- <p>The text of more than 18 px is out of the red border if bootstrap.min.css connected </p>
- </body>
- font-size: 13px;
- line-height: 18px;
- p{
- line-height: 1.4em;
- }
- p.large {
- border: 1px solid red;
- font-size: 55px;
- line-height: 60px;
- }
- <p class="large">some text with the font-size of 55px</p>
Advertisement
Add Comment
Please, Sign In to add comment