zoukankan      html  css  js  c++  java
  • css文本样式,空格

    text-indent 首行缩进,只与元素第一行有关 

     eg. text-indent:50px 首行缩进50像素

    white-space 设置如何处理元素内的空白

     eg. white-space:pre-wrap   保留空格和回车 

       white-space:pre     空白会被浏览器保留,其行为方式类似 HTML 中的 <pre> 标签

       white-space:nowrap  文本不会换行,文本会在在同一行上继续,直到遇到 <br> 标签为止

       white-space:pre-line   合并空白符序列,但是保留换行符。

  • 相关阅读:
    UVA
    UVA
    UVA
    UVA
    NLP介绍
    新建Springboot项目
    添加ssh密钥
    git 错误合集
    Git入门操作
    Hadoop MapReduce
  • 原文地址:https://www.cnblogs.com/xuwenqin/p/14036614.html
Copyright © 2011-2022 走看看