Tizen开发文字垂直排列代码
通过设置宽度和break-word,我们可以做简单的垂直文本。<!DOCTYPE html><html>
<head>
<meta charset="utf-8">
<style>
p span {
display:block;
width:8px;
border:1px solid black;
text-align:center;
padding:5px;
word-wrap:break-word;
}
</style>
</head>
<body>
<p>
<span>vertical-text</span>
</p>
</body>
</html>
页:
[1]