如何竖排显示数字?

mars930 2007-12-11 02:43:41
比如001,002,要求显示成:
0 0
0 0
1 2

就是说数字的方向要是向上的,就是说数字不要横着了,writing-mode:tb-rl; 不行的,虽然竖着显示,但是数字的方向不对。
...全文
474 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
yixianggao 2007-12-11
  • 打赏
  • 举报
回复
用word-break和width挤死它,哈
L@_@K
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> new document </title>
<meta name="generator" content="editplus" />
<meta name="author" content="Gao YiXiang" />
<meta name="email" content="yixianggao@126.com" />
<meta name="keywords" content="javascript dhtml dom" />
<meta name="description" content="I love web development." />
<style type="text/css">
table
{
word-break: break-all;
width: 1px;
}
</style>
</head>
<body>
<table>
<tr>
<td>001</td>
<td>002</td>
<td>003</td>
</tr>
</table>
</body>
</html>

61,115

社区成员

发帖
与我相关
我的任务
社区描述
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。
社区管理员
  • HTML(CSS)社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧