Dreamweaver 中怎么设置竖排文字

来源:百度知道 编辑:UC知道 时间:2024/05/12 01:09:36

(注意 表格要设定数值 文字会根据表格宽度 串行的)
<table width="20" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><div id=test style="POSITION: relative; width: 16; height: 80;"><a class=fuwu
href="#">新娘化妆</a></div></td>
</tr>
</table>

其中的css设定
.fuwu {
writing-mode: tb-rl;
text-align: center;
font-family: "宋体";
font-size: 14px;
font-weight: bold;
color: #3E0000;
}

需要IE5.5以上支持(我想现在没有几个IE还是6.0以下的吧)

以下可供参考:
语法:text-align : left、right、center、justify
参数:left:左对齐 right:右对齐 center:居中 justify:两端对齐
示例:div { text-align : center; }
接下来让我们来制作一个紧排的实例:
< html >
< head >
< title >竖排文字< /title >
< style type=&q