CSS样式(规则)定义对话框中英文对照

合集下载

CSS样式(规则)定义对话框中英文对照要点

CSS样式(规则)定义对话框中英文对照要点

CSS样式(规则)定义对话框中英文对照一、【类型】1、font-variant 属性设置小型大写字母的字体显示文本,这意味着所有的小写字母均会被转换为大写,但是所有使用小型大写字体的字母与其余文本相比,其字体尺寸更小。

值描述normal 默认值。

浏览器会显示一个标准的字体。

small-caps 浏览器会显示小型大写字母的字体。

inherit 规定应该从父元素继承font-variant 属性的值。

2、text-transform 设置文本的大小写,只对英文字母有效。

值描述none 无转换发生capitalize 将每个单词的第一个字母转换成大写,其余无转换发生uppercase 转换成大写lowercase 转换成小写3、text-decoration 属性对文本进行修饰。

值描述none 默认。

定义标准的文本。

underline 定义文本下的一条线。

overline 定义文本上的一条线。

line-through 定义穿过文本下的一条线。

blink 定义闪烁的文本。

inherit 规定应该从父元素继承text-decoration 属性的值。

二、【背景】1、background-attachment 属性设置背景图像是否固定或者随着页面的其余部分滚动。

值描述scroll 默认值。

背景图像会随着页面其余部分的滚动而移动。

fixed 当页面的其余部分滚动时,背景图像不会移动。

inherit 规定应该从父元素继承background-attachment 属性的设置。

三、【区块】1、word-spacing属性,控制单词间的间隔。

所谓单词,就是用空格分开的字符串,允许指定负长度值,这会让字之间挤得更紧。

值描述normal 默认。

定义单词间的标准空间。

length定义单词间的固定空间。

inherit 规定应该从父元素继承word-spacing 属性的值。

2、letter-spacing 属性,与Word-spacing相似,不过它控制的是单个字符之间的间隔,而不是单词间。

HTML CSS的中英文对照

HTML CSS的中英文对照

HTML CSS的中英文对照HTML CSS的中英文对比python 大蟒蛇downloads 下载install 安装customize 自定义path 环境变量:路径optional 可选的feature 特性特点documentation 文档 docassociate 关联shortcuts 快捷方式setup 安装successful 胜利library 库scripts 脚本print 打印hello world 你好,世界command 指令power 能量shell 壳exit 退出integer int 数字string str 字符串define 定义delete del 删除recent 最近的(时光方面)last 最后的call 调用 callableIDE (integrate Development kit)集成开发工具tools 工具professional 专业的Development 开发developer 开发者community 社区setup 安装guide 向导installation 安装recommend 建议application 应用 app possible 可能computer 电脑next 下一步break 中断length 长度 len() parameter 参数 param argument 参数 arg return 返回define 定义 def function 功能,函数require 必需miss 走失object 对象、事物callable 可调用default 默认的follow 跟在...后面recursion 递归global 全球,全局的slice 切remove 移除list 列表dict 字典 mapkey 键value 值support 支持,具备..功能assignment 分配,任务,工作set 集合operator 操作符union 联合,并initial 初始化 init instance 实例class 类attribute attr 属性self 自己property 特性、属性ref reference 引用static 静态的object 对象subclass 子类inherit 继承override 重写salary 薪水offer 入职通知书directory 名目 dirslot 插槽try 尝试finally 最后的,终于except 异样 exceptionraise 抛投掷chain 链条camel 骆驼declare 声明 redeclare 重复声明expect 预期redundant 小括号blank 空白的line 行 blank line 空白行 new line 新行found 找到 find的过去式read 读 ropen 打开chinese 中文中国的中国人english 英语encode 编码 encrypt code decode 解码union 联合统一exists 存在year 年month 分钟day 天日hour 小时minute 分钟second 秒virtual 虚拟的environment 环境satisfied 惬意requirement 必须品already 已经预备好了activate 激活draw 画画filter 过滤,滤镜affected 受影响前端html hyper text markup language 超文本标志语言lang language 语言en english 英语zh 简体中文charset 字符集title 题目head 头body 身体paragraph 段落style 样式align 对齐anchor 锚target 靶子目标table 桌子表格row 行col column 列span 延长data 数据padding 填充space 空白order 指令,有序的item 项input 输入action 动作submit 提交reset 重置readonly 只读required 必需必填select 挑选option 选项area 区域form 表单placeholder 占位符text 文本框 radio 单选 checkbox 多选 cssbackground-color 背景色彩 no-repeat不重复 repeat重复 width 宽 height 高 border 边框 solid 实心线 dotted 点线 dashed 虚线 radius 半径控制圆角的大小 margin 外边距 padding 内边距font-weight 字体粗细xxx; text-align: left; 文字对齐text-indent: 文段开始缩进嵌入音频嵌入视频pycharmnew 新建directory 文件夹file 文件copy 复制cut 剪切paste 粘贴refactor 修改rename 重命名move 移动font 字体setting 设置appearance 外观editor 编辑器external 外部的library 库console 终端、指令行terminal 终端todo 待办事情favorites 爱慕,保藏夹structure 结构view 视图,扫瞄edit 编辑navigate 导航code 代码refactor 更改run 跑,运行tools 工具windows 窗口布局help 协助indent 缩进expected 期盼,预料PEP8 python官方第8号文件,规定了代码书写风格instance 实例while 当...的时候stop 停止terminate 终止interpreter 说明器range 范围数据库radius 半径范围,半径navbar navigation bar导航条collapse 崩塌;失败brand 商标,品牌form string 格式字符串Drop downs 下拉菜单menu item 菜单项;子菜单timestamp 时光戳enterprise 企业localhost 本地主机; 本地服务器alter 转变;修改workbench 工作台,手工台attempt 试图,尝试manually 手动的expire 到期过期footer 页脚loading 加载,评论initial 初始化scale 缩放meta 标签的优化,元标签Block quote 块引用cite 引用sample 取样,尝试default 默认名称initialize 初始化console 控制台plugin 插件aborting 异样终止temporary 暂时的account 理由command 命令trademark 标记corporation 公司,法人denied 否决statement 声明synchronize 同步scratch 草稿,刮伤repository 存储库invalidate 无效的caches 缓存。

css 中英文断句

css 中英文断句

css 中英文断句Consistent and coherent text is essential in written communication, particularly in formal settings such as academic essays or professional documents. In the context of CSS (Cascading Style Sheets), the handling of line breaks and word wrapping can have a significant impact on the overall presentation and readability of web content. This essay will explore the nuances of CSS-driven text formatting, focusing on the challenges and considerations surrounding English and Chinese text segmentation.One of the fundamental aspects of text rendering in CSS is the concept of text wrapping and word breaking. The default behavior in CSS is to wrap text within a container based on the available width, breaking the line at the nearest whitespace character or hyphen. This approach works well for languages that use spaces or hyphens to delineate word boundaries, such as English. However, the situation becomes more complex when dealing with languages that do not have explicit word separators, like Chinese.In the case of Chinese text, words are typically formed by a sequence of characters without any visible spaces in between. This poses a unique challenge for CSS, as the engine needs to determine where tobreak the line without the aid of clear word boundaries. To address this, CSS provides the `word-break` property, which offers different strategies for handling line breaks in Chinese text.The `word-break: normal` value, which is the default, follows the standard line-breaking behavior, breaking the text at the nearest whitespace or punctuation mark. This approach, while suitable for English, can result in awkward line breaks in Chinese text, potentially splitting words in the middle and compromising readability.To better accommodate Chinese text, the `word-break: break-all` value can be employed. This setting instructs the CSS engine to break the text at any character, regardless of whether it is a word boundary or not. While this ensures that the text fits within the container, it can lead to a fragmented and visually unappealing appearance, with words being broken arbitrarily.The `word-break: keep-all` value, on the other hand, takes a different approach. It attempts to preserve word integrity by breaking the line only at designated word boundaries, such as spaces or punctuation marks. This setting is particularly useful for languages like Chinese, as it helps maintain the coherence of the text and enhances readability.Another relevant CSS property in the context of text formatting is`white-space`. This property controls how whitespace, such as spaces,tabs, and line breaks, is handled within the text. The `white-space: normal` value, which is the default, collapses consecutive whitespace characters into a single space and allows the text to wrap naturally. However, in some cases, preserving the original whitespace formatting may be desirable, especially when dealing with pre-formatted text or code snippets.The `white-space: pre` value instructs the CSS engine to preserve all whitespace characters, including line breaks, as they appear in the source code. This can be useful for maintaining the formatting of technical documentation, poetry, or other content where the original layout is crucial for comprehension.Additionally, the `white-space: pre-wrap` value combines the benefits of preserving whitespace and allowing for automatic line wrapping. This setting is particularly useful when dealing with user-generated content, where the original formatting needs to be maintained while ensuring the text fits within the container.The challenges of text formatting in CSS extend beyond the handling of word boundaries and whitespace. The `text-align` property, for example, allows you to control the horizontal alignment of text, offering options such as left, right, center, and justify. The choice of text alignment can significantly impact the overall aesthetic and readability of the content, especially when dealing with languagesthat have different writing directions, such as English (left-to-right) and Chinese (right-to-left).Furthermore, the `direction` and `unicode-bidi` properties in CSS provide the ability to handle bidirectional text, where content in different writing directions (e.g., English and Arabic) needs to be displayed within the same document. These properties enable the CSS engine to correctly order and format the text, ensuring a coherent and visually appealing presentation.In conclusion, the effective handling of text formatting in CSS is a crucial aspect of web design and development. The interplay between language-specific characteristics, such as word boundaries and writing direction, and CSS properties like `word-break`, `white-space`, `text-align`, `direction`, and `unicode-bidi` is essential for creating visually consistent and highly readable web content. By understanding and leveraging these CSS capabilities, web designers and developers can ensure that their content, whether in English, Chinese, or a combination of languages, is presented in a clear and user-friendly manner.。

CSS样式规则定义对话框中英文对照

CSS样式规则定义对话框中英文对照

CSS样式规则定义对话框中英文对照CSS(Cascading Style Sheets)样式规则定义对话框中有很多常用的属性和值,它们可以帮助我们控制对话框的外观和行为。

以下是一些常用的CSS样式规则定义对话框的属性和值,以及它们的中英文对照。

1. Positioning(定位):- position (定位方式)- top (顶部距离)- right (右侧距离)- bottom (底部距离)- left (左侧距离)- z-index (堆叠顺序)2. Box Model(盒模型):- width (宽度)- height (高度)- margin (外边距)- padding (内边距)- border (边框)3. Typography(文本样式):- font-family (字体)- font-size (字体大小)- font-weight (字体粗细)- font-style (字体样式)- color (文字颜色)- text-align (对齐方式)- text-decoration (文本装饰)4. Background(背景):- background-color (背景颜色)- background-image (背景图片)- background-size (背景图片大小)- background-repeat (背景图片重复)5. Box Shadow(阴影):- box-shadow (盒子阴影)- text-shadow (文字阴影)6. Transition(过渡效果):- transition-property (过渡的属性)- transition-duration (过渡的时间)- transition-delay (过渡的延迟时间)- transition-timing-function (过渡的时间函数)7. Animation(动画效果):- animation-name (动画名称)- animation-duration (动画时间)- animation-delay (动画延迟时间)- animation-iteration-count (动画循环次数) - animation-direction (动画方向)8. Border Radius(边框圆角):- border-radius (边框圆角)9. Display(显示方式):- display (显示方式)- visibility (可见性)- opacity (透明度)10. Flexbox(弹性盒子):- display: flex (显示为弹性盒子)- flex-grow (弹性增长因子)- flex-shrink (弹性收缩因子)- flex-basis (弹性基准)- flex-direction (弹性盒子的排列方向)- justify-content (主轴对齐方式)- align-items (侧轴对齐方式)以上是一些常用的CSS样式规则定义对话框的属性和值,以及它们的中英文对照。

CSS字体中英文名称对照表CSS常用中文字体英文名称对照表

CSS字体中英文名称对照表CSS常用中文字体英文名称对照表

CSS字体中英⽂名称对照表CSS常⽤中⽂字体英⽂名称对照表在CSS⽂件中,我们常看到有些字体名称变成了乱码,这是由于编写者将中⽂字体的名字直接写成了中⽂,并且再上传或者拷贝复制的时候⽆意间变成了乱码。

为了避免这种状况出现,在CSS⽂件中使⽤中⽂字体时,最好使⽤中⽂字体的英⽂名称,我们常⽤中⽂字体的英⽂名称对照表如下: Windows⾃带的字体:中⽂名英⽂名Unicode Unicode 2Mac OS华⽂细⿊STHeiti Light [STXihei]\534E\6587\7EC6\9ED1华⽂细⿊华⽂⿊体STHeiti\534E\6587\9ED1\4F53华⽂⿊体华⽂楷体STKaiti\534E\6587\6977\4F53华⽂楷体华⽂宋体STSong\534E\6587\5B8B\4F53华⽂宋体华⽂仿宋STFangsong\534E\6587\4EFF\5B8B华⽂仿宋丽⿊ Pro LiHei Pro Medium\4E3D\9ED1 Pro丽⿊ Pro丽宋 Pro LiSong Pro Light\4E3D\5B8B Pro丽宋 Pro标楷体BiauKai\6807\6977\4F53标楷体苹果丽中⿊Apple LiGothic Medium\82F9\679C\4E3D\4E2D\9ED1苹果丽中⿊苹果丽细宋Apple LiSung Light\82F9\679C\4E3D\7EC6\5B8B苹果丽细宋Windows新细明体PMingLiU\65B0\7EC6\660E\4F53新细明体细明体MingLiU\7EC6\660E\4F53细明体标楷体DFKai-SB\6807\6977\4F53标楷体⿊体SimHei\9ED1\4F53⿊体宋体SimSun\5B8B\4F53宋体新宋体NSimSun\65B0\5B8B\4F53新宋体仿宋FangSong\4EFF\5B8B仿宋楷体KaiTi\6977\4F53楷体仿宋_GB2312FangSong_GB2312\4EFF\5B8B_GB2312仿宋_GB2312楷体_GB2312KaiTi_GB2312\6977\4F53_GB2312楷体_GB2312微软正⿊体Microsoft JhengHei\5FAE 8F6F\6B63\9ED1\4F53微软正⿊体微软雅⿊Microsoft YaHei\5FAE\8F6F\96C5\9ED1微软雅⿊Office⾪书LiSu\96B6\4E66⾪书幼圆YouYuan\5E7C\5706幼圆华⽂细⿊STXihei\534E\6587\7EC6\9ED1华⽂细⿊华⽂楷体STKaiti\534E\6587\6977\4F53华⽂楷体华⽂宋体STSong\534E\6587\5B8B\4F53华⽂宋体华⽂中宋STZhongsong\534E\6587\4E2D\5B8B华⽂中宋华⽂仿宋STFangsong\534E\6587\4EFF\5B8B华⽂仿宋⽅正舒体FZShuTi\65B9\6B63\8212\4F53⽅正舒体⽅正姚体FZYaoti\65B9\6B63\59DA\4F53⽅正姚体华⽂彩云STCaiyun\534E\6587\5F69\4E91华⽂彩云华⽂琥珀STHupo\534E\6587\7425\73C0华⽂琥珀华⽂⾪书STLiti\534E\6587\96B6\4E66华⽂⾪书华⽂⾏楷STXingkai\534E\6587\884C\6977华⽂⾏楷华⽂新魏STXinwei\534E\6587\65B0\9B4F华⽂新魏新细明体:PMingLiU细明体:MingLiU标楷体:DFKai-SB⿊体:SimHei宋体:SimSun新宋体:NSimSun仿宋:FangSong楷体:KaiTi仿宋_GB2312:FangSong_GB2312楷体_GB2312:KaiTi_GB2312微软正⿊体:Microsoft JhengHei微软雅⿊体:Microsoft YaHei装Office会多出来的⼀些字体:⾪书:LiSu幼圆:YouYuan华⽂细⿊:STXihei华⽂楷体:STKaiti华⽂宋体:STSong华⽂中宋:STZhongsong华⽂仿宋:STFangsong⽅正舒体:FZShuTi⽅正姚体:FZYaoti华⽂彩云:STCaiyun华⽂琥珀:STHupo华⽂⾪书:STLiti华⽂⾏楷:STXingkai华⽂新魏:STXinwei苹果电脑中的字体:华⽂细⿊:STHeiti Light [STXihei]华⽂⿊体:STHeiti华⽂楷体:STKaiti华⽂宋体:STSong华⽂仿宋:STFangsong丽⿊ Pro:LiHei Pro Medium丽宋 Pro:LiSong Pro Light标楷体:BiauKai苹果丽中⿊:Apple LiGothic Medium苹果丽细宋:Apple LiSung Light如果要在CSS中应⽤微软雅⿊,就直接写: font-family: Microsoft YaHei;。

CSS属性 汉英对照表

CSS属性 汉英对照表

常用的CSS标签标记属性翻译注释1、字体属性(type)font-family(使用什么字体)font-style(字体的样式,是否斜体):normal/italic/obliquefont-variant(字体大小写):normal/small-capsfont-weight(字体的粗细):normal/bold/bolder/lithterfont-size(字体的大小):absolute-size/relative-size/length/percentage2、颜色和背景属性(backgroud)color(定义前景色,例如:p{color:red})background-color(定义背景色)background-image(定义背景图片)background-repeat(背景图案重复方式):repeat-x/repeat-y/no-repeatbackground-attachment(设置滚动):scroll(滚动)/fixe(固定的)background-position(背景图案的初始位置):percentage/length/top/left/right/bottom3、文本属性:(block)定义间距:word-spacing(单词之间的距离)letter-spacing(字母之间的距离)text-decoration(定义文字的装饰):nore/underline/overline/line-through/blinkvertical-align(元素在垂直方向的位置):baseline(基线)/sub/super/top/text-top/middle/bottom/text-bottomtext-transform(使文本转换为其它方式):capitalize(大写)/uppercase(首字母大写)/lowercase(小写)/nonetext-align(文字的对齐):left/right/center/justifytext-indent(文本的首行缩进)length/percentageline-height(文本的行高):normal/numbet/lenggth/percentage(百分比)定义超链接:a:link {color:green;text-decoration:nore}(未访问过的状态)a:visited {color:ren;text-decoration:underline;16pt}(访问过的状态)a:hover {color:blue;text-decoration:underline;16pt}(鼠标激活的状态)4、块属性(block)边距属性:margin-top(设置顶边距)margin-right(设置右边距)margin-bottom(设置底边距)margin-left(设置左边距)填充距属性:padding-top设置顶端真充距)padding-right设置顶端真充距)padding-bottom设置顶端真充距)padding-left设置顶端真充距)5、边框属性(border)border-top-width(顶端边框宽度)border-right-width(右端边框宽度)border-bottom-width(底端边框宽度)border-left-width(d左边框宽度)border-width(一次定义边框宽度)border-color(设置边框颜色)border-style(设置边框样式)border-top(一次定义顶端各种属性)border-right(一次定义右端各种属性)border-bottom(一次定义底端各种属性)border-left(一次定义左端各种属性)图文混排:width(定义宽度属性)height(定义高度属性)float(文字环绕在一个元素的四周)clear(定义某一边是否有环绕)6、项目符号和编号(list)display(定义是否显示)white-space(怎样处理空白部分):normal/pre/nowraplist-style-type(在列表前加项目符号)disc(圆点)/circle(圈)/square(方形)/decimal(阿拉伯数字)/lower-roman(小写罗马数字)/upper-roman(大写罗马数字)/lower-alpha(小写英文字母)/upper-alpha(大写英文字母)/norelist-style-tyle(在列表前加图案):<url>/nonelist-style-position(决定列表项中第二行的起邕位置)list-style(一次性定义所有属性)7、定位(positioning)即层属性Type:设定对象的定位方式。

dreamweaver+cs5+css规则面板中英对照及详解

dreamweaver+cs5+css规则面板中英对照及详解

1.文本样式(yàngshì)的定义定义文本样式、保存CSS规则后系统(xìtǒng)将行动打开“CSS规则定义”对话框。

[字体(zìtǐ)]:选择(xuǎnzé)所需要的字体。

[大小(dàxiǎo)]:定义字体大小。

[样式]:可选择字体的特殊样式,即“正常”、“斜体”或“偏斜体”等。

[行高]:设置文本所在行的高度。

也可以输入一个确切的值并选择一种度量单位。

[修饰]:在文本中添加下划线、上划线或删除线,或者使文本闪烁。

[粗细]:字体应用特定或相对的粗体量。

[变体]:设置文本的变体方式。

[大小写]:将所选内容中每个单词的首字母大写,或者将文本设置为全部大写或小写。

[颜色]:设置文本颜色。

2.背景样式(yàngshì)的定义要定义背景样式可在“CSS规则(guīzé)定义”对话框中选择“背景”选项。

[背景(bèijǐng)颜色]:设置(shèzhì)背景颜色。

[背景(bèijǐng)图像]:设置背景图像。

[重复]:确定是否以及如何重复背景图像。

(不重复):只在元素开始处显示一次图像。

(重复):在元素的后面水平和垂直平铺图像。

(横向重复)和(纵向重复):分别显示图像的水平带区和垂直带区。

图像将被剪辑以适合元素的边界。

[附件(fùjiàn)]:确定背景图像是固定在原始位置还是随内容(nèiróng)一起滚动。

[水平(shuǐpíng)位置]和[垂直位置]:指定背景图像相对于元素的初始位置。

这可以(kěyǐ)用于将背景图像与页面中心垂直和水平对齐。

如果附件属性为“固定”,位置则相对于“文档”窗口而不是元素。

3.区块样式(yàngshì)的定义使用“CSS规则定义”对话框中的“区块”类别可以定义标签和属性的间距、对齐等设置。

CSS样式(规则)定义对话框中英文对照

CSS样式(规则)定义对话框中英文对照

CSS样式(规则)定义对话框中英文对照一、【类型】1、font-variant 属性设置小型大写字母的字体显示文本,这意味着所有的小写字母均会被转换为大写,但是所有使用小型大写字体的字母与其余文本相比,其字体尺寸更小。

值描述normal 默认值。

浏览器会显示一个标准的字体。

small-caps 浏览器会显示小型大写字母的字体。

inherit 规定应该从父元素继承font-variant 属性的值。

2、text-transform 设置文本的大小写,只对英文字母有效。

值描述none 无转换发生capitalize 将每个单词的第一个字母转换成大写,其余无转换发生uppercase 转换成大写lowercase 转换成小写3、text-decoration 属性对文本进行修饰。

值描述none 默认。

定义标准的文本。

underline 定义文本下的一条线。

overline 定义文本上的一条线。

line-through 定义穿过文本下的一条线。

blink 定义闪烁的文本。

inherit 规定应该从父元素继承text-decoration 属性的值。

1、background-attachment 属性设置背景图像是否固定或者随着页面的其余部分滚动。

值描述scroll 默认值。

背景图像会随着页面其余部分的滚动而移动。

fixed 当页面的其余部分滚动时,背景图像不会移动。

inherit 规定应该从父元素继承background-attachment 属性的设置。

1、word-spacing属性,控制单词间的间隔。

所谓单词,就是用空格分开的字符串,允许指定负长度值,这会让字之间挤得更紧。

值描述normal 默认。

定义单词间的标准空间。

length定义单词间的固定空间。

inherit 规定应该从父元素继承word-spacing 属性的值。

2、letter-spacing 属性,与Word-spacing相似,不过它控制的是单个字符之间的间隔,而不是单词间。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

CSS样式(规则)定义对话框中英文对照
CSS样式(规则)定义对话框中英文对照
一、【类型】
1、font-variant 属性设置小型大写字母的字体显示文本,这意味着所有的小写字母均会被转换
underli
ne 定义文本下的一条线。

overlin
e 定义文本上的一条线。

line-th
rough 定义穿过文本下的一条线。

blink 定义闪烁的文本。

inherit 规定应该从父元素继承text-decoration 属性的值。

二、【背景】
1、background-attachment 属性设置背景图像是否固定或者随着页面的其余部分滚动。

值描述
scroll 默认值。

背景图像会随着页面其余部分的滚动而移动。

fixed 当页面的其余部分滚动时,背景图像不会移动。

inher
it 规定应该从父元素继承background-attachment 属性的设置。

三、【区块】
1、word-spacing属性,控制单词间的间隔。

所谓单词,就是用空格分开的字符串,允许指定负长度值,这会让字之间挤得更紧。

值描述
normal 默认。

定义单词间的标准空间。

值描述
None 不显示该元素,也不占位。

Block 此元素将显示为块级元素,此元素前后会带有换行符。

Inline 默认值,此元素会被显示为内联元素,元素前后没有换行符。

inline-b
lock 行内块元素。

与inline相比该元素稍微变高。

四、【方框】
1、float属性定义元素在哪个方向浮动。

控制元素在这一行的右边还是左边,然后其他元素占据这一行剩余的地方,当然也可以让单独一行。

值描述
left 元素向左浮动。

rig
ht 元素向右浮动。

no
ne 默认值。

元素不浮动,并会显示在其在文本中出现的位置。

inh
erit 规定应该从父元素继承float 属性的值。

2、clear 属性规定元素的哪一侧不允许其他浮动元素。

五、【边框】
1、border-style属性用于设置元素所有边框的样式,或者单独地为各边设置边框样式。

值描述
no
ne 定义无边框。

六、【列表】
1、list-style-type 属性设置列表项标记的类型。

值描述
non
e 无标记。

disc 默认。

标记是实心圆。

七、【定位】
1、position 属性规定元素的定位类型。

值描述
abs
olut e 生成绝对定位的元素,相对于static 定位以外的第一个父元素进行定位。

元素的位置通过"left", "top", "right" 以及"bottom" 属性进行规定。

八、【扩展】
1、cursor 属性规定要显示的鼠标光标的类型(形状)。

该属性定义了鼠标指针放在一个元素边界范围内时所用的光标形状。

值描述。

相关文档
最新文档