css3的文本效果text-justify
来源:互联网 发布:水光面膜怎么样 知乎 编辑:程序博客网 时间:2024/06/06 20:40
<!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><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style>div{text-align:justify;text-justify:distribute;}</style></head><body><h1>CSS text-justify 实例</h1><div>Shanghai is the largest city by population in the People's Republic of China (PRC) and the largest city proper by population in the world. It is one of the four province-level municipalities of the PRC, with a total population of over 23 million as of 2010. It is a global city, with influence in commerce, culture, finance, media, fashion, technology, and transport. It is a major financial center and the busiest container port in the world.</div><p><b>提示:</b>请调整浏览器窗口的大小,来查看齐行效果。</p><p><b>注释:</b>text-justify 属性只在 IE 中有效。</p></body></html>
引用w3school的例子
语法
text-justify: auto|inter-word|inter-ideograph|inter-cluster|distribute|kashida|trim;
调节浏览器窗口大小后的效果(个人实验text-justify:inter-word;在火狐上有效果,以上的那些没有效果):
- css3的文本效果text-justify
- text-align:justify 实现两端对齐文本的效果
- css3的文本效果text-overflow
- Android TextView Justify Text TextView自适应文本
- text-align:justify实现文本两端对齐且兼容IE
- CSS——文本样式(text-indent,text-transform,text-decoration,text-justify)
- CSS3 (四) 文本效果
- css3文本效果
- CSS3文本效果 、字体
- css3文本效果
- CSS3 文本效果
- [14]CSS3 文本效果
- CSS3--文本效果
- css3文本效果
- text-align:justify使用
- 【CSS3】---文本阴影text-shadow
- 【CSS3】文本阴影text-shadow
- CSS3文本阴影text-shadow
- 程序员-工作篇
- linux下实现删除一个文件每行的前几列
- DDL&DML&TCL&DQL&DCL
- 判断ListView滚动到达底部的方法
- DBS&DB&DBMS&RDBMS
- css3的文本效果text-justify
- 数据库对象
- 一道abc+cba=1333的问题
- IP地址的分类
- 常见JAVA运行时异常有哪些?
- 对象引用与对象的区别
- 浅谈window.attachEvent
- 传统神经网络ANN简介
- Installing Backtrack5 tools + menu in Ubuntu 10.10