Login
网站首页 > 文章中心 > 其它

borderstyle怎么读_formborderstyle

作者:小编 更新时间:2023-07-14 13:04:52 浏览量:243人看过

border-style属性可设置为下列值之一。

�0�1solid:单实线。

�0�1double:双实线。

�0�1dashed:虚线。

borderstyle怎么读_formborderstyle-图1

�0�1dotted:点线。

�0�1groove:沟线(groove)。

�0�1ridge:脊线(ridge)。

�0�1inset:内陷边框。

�0�1outset:外凸边框。

�0�1none:无边框。

border-style属性的默认值为none,这就是为什么除非将border属性设置为其他类型,否则元素没有边框的原因。最常见的border样式是solid和double。

borderstyle怎么读_formborderstyle-图2

border-style 属性可设置四边的样式,可以有1到4种样式

举例

table {border-style: dotted}

all four borders will be dotted

四条边都为打点型

table {border-style: dotted dashed}

top and bottom border will be dotted, left an right border will be dashed

上下边为打点型的,左右为粉碎型

table {border-style: dotted dashed solid}

top border will be dotted, left and right border will be dashed, bottom border will be solid

上边为打点型,左右为粉碎型边框,下边框为线型

table {border-style: dotted dashed solid double}

top border will be dotted, right border will be dashed, bottom border will be solid, left border will be double

上边为打点型,右边为粉碎型,下边为线型,左边为双线型

可用值

值 描述

none Defines no border

无边框

hidden The same as "none", except in border conflict resolution for table elements

除了在table元素的边框解析上有冲突外基本和"none"一样

dotted Defines a dotted border. Renders as solid in most browsers

打点边框,在大多数浏览器中会变为线条

dashed Defines a dashed border. Renders as solid in most browsers

断裂边框,在大多数浏览器下也会变为线条(在IE里dotted和dashed基本无区别,FF浏览器有所不同)

solid Defines a solid border

线条边框

double Defines two borders. The width of the two borders are the same as the border-width value

双线边框。两线的宽度和border-width值一样

groove Defines a 3D grooved border. The effect depends on the border-color value

3D沟槽边框。效果依赖于border-color的值

ridge Defines a 3D ridged border. The effect depends on the border-color value

3D脊状边框。效果依赖于border-color的值

inset Defines a 3D inset border. The effect depends on the border-color value

3D嵌入边框。效果依赖于border-color的值

outset Defines a 3D outset border. The effect depends on the border-color value

3D突出边框。效果依赖于border-color的值

Fixed3D 固定的三维边框。

Photoshop就是PS 给图片"化妆"用的.

borderstyle怎么读_formborderstyle-图3

border style 边缘 样式 (组合词)

边框样式

BorderStyle属性:返回或设置对象的边框样式。对Form对象和Textbox 控件在运行时是只读的。

语法:

object.BorderStyle = [value]

object对象表达式,其值是"应用于"列表中的一个对象

value值或常数,用于决定边框样式,"设置值"中有详细说明

对于窗体,BorderStyle 属性决定了其主要特征,这些特征从外观上就能确定窗体是通用窗口或对话框。

设置值3(固定对话框)用于标准对话框。

设置值4(固定工具窗口)和5(可变工具窗口)用于创建工具箱样式的窗口。

设置值为 2(可变尺寸)的 MDI 子窗体,以 Windows 运行环境运行时定义的缺省尺寸,在 MDI 窗体内显示。对于任何其它设置值,窗体按设计时指定的大小显示

边界风格,表示对话框、视图、窗口边界的形状,有薄、厚、立体等风格。

true=1, false=0;

但也有true=-1的。总之true一般为非0。false为0。

以上就是土嘎嘎小编大虾米为大家整理的borderstyle怎么读_formborderstyle相关主题介绍,如果您觉得小编更新的文章对您有所帮助,不要忘记讲本站分享给您身边的朋友哦!!

版权声明:倡导尊重与保护知识产权。未经许可,任何人不得复制、转载、或以其他方式使用本站《原创》内容,违者将追究其法律责任。本站文章内容,部分图片来源于网络,如有侵权,请联系我们修改或者删除处理。

编辑推荐

热门文章