表格中的图像和内容之间的行间距/间隔

时间:2012-10-17 19:16:35

标签: css image html-table textbox paragraph

我创建了一个表并在td标记中添加了图像和文本,但在我的博客博客中遇到了一些问题。

表格代码:

<table border="1">
<tbody>
<tr><th>Binary Flow</th>
</tr>
<tr>
<td><img border="0" height="480" id="BLOGGER_PHOTO_ID_5467854046024131602" src="http://3.bp.blogspot.com/_2RYhUNsyjDE/S-G4SPDzZBI/AAAAAAAAAfM/PEUjW9Efzjs/s640/im-3.jpg" style="float: right; margin: 0pt 0pt 10px 10px;" width="640" /> <br />
<hr />
In the past, the concept of design is very simple to read. Hours, and 
displayed a group of 10 minutes and one minute in three parts; each line
indicating the hour, a group of 10 minutes or one minute. The date in 
the same way. Within this simple view, also shows the time in binary - 
great for those who love the challenge.</td>
</tr>
<table>

我也尝试将p标签与表中的内容一起使用,但这不起作用。 标记P CSS下面:

.entry p {
    line-height: 22px;
    margin: 0;
    padding: 5px 0;
    text-align: justify;
}

我的图片CSS代码如下:

.entry img {
    background: url("http://3.bp.blogspot.com/-Sj_zHsDfAMg/TwKvUtIhnoI/AAAAAAAAECk/4Xwxu-GoVvs/s000/grad.png") repeat-x scroll center top #FFFFFF;
    border: 0 solid #DEDBD1;
    margin: 0;
    padding: 0;
}

您可以在my one post中查看我的实时问题。

0 个答案:

没有答案