Home >Web Front-end >HTML Tutorial >关于html中<td>输入文字间距,如何设置_html/css_WEB-ITnose

关于html中<td>输入文字间距,如何设置_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 08:51:193209browse

求助大神怎么设置td内的输入内容字与字之间的行距?
图1:
图2:
想让图2做成图1的效果
代码奉上

<td width="195" style="font-size:16px;color:#444444;font-family:微软雅黑;word-spacing:29px;background:#F6F6F6;font-weight:bold;">																												荣获上海市委统战部2015年统战工作实践创新特色奖</td>


回复讨论(解决方案)

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh" lang="zh" dir="ltr">   <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <style> .oTd {		font-size:18px;		color:#444444;		font-family:微软雅黑;		word-spacing:29px;		background:#F6F6F6;		font-weight:bold;		line-height : 38px;		width : 210px; } </style><body>   <table><tr><td class="oTd"> 荣获上海市委统战部2015年统战工作实践创新特色奖</td></tr></table>																												</body>   </html>  

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn