tags:

views:

193

answers:

3

I have something similar to that:

<table>
    <tr>
        <td>Hello,<br/>World!</td>
    </tr>
</table>

Both lines

Hello,
World!

are displayed too close to one another. Any way to increase spacing between them (by a portion of a line width (without another <br/>))?

+9  A: 

Use line-height to adjust the, well, line height. So in your case line-height: 2 will double the line height.

Gumbo
+3  A: 
td {
    line-height:<value>;
}
Aiden Bell
+4  A: 

Here's a full example of how to make the line spacing within <td>s one and a half times the height of the font:

<html><head>
<style>
td {
    line-height: 150%;
}
</style>
</head>
<body>
<table>
    <tr>
        <td>Hello,<br/>World!</tr>
    </tr>
</table>
</body></html>
RichieHindle