Html+css draw dashed lines, solid lines

Source: Internet
Author: User

Html+css draw dashed lines, solid lines2014-07-18 09:21 4086 People read comments (0) favorite reports Classification:Others (one)Add a dashed line to the HTML posted on2011-11-23 15:57 Trible.H Read (11498) Comments (0) Edit Collection Add dashed lines in HTML
(J; B8 E (e! w7 C
8}* {# h# F7]3 K1 C
9 c% Y "K0 s& G N 1 H1 @5 {% u "v$ D
3 Y N7 i+ {7 v2 _! t* E1 W
9 ~+ K5 b6 y* h* S
Border:border-width | | Border-style | | Border-color
Value:
This property is a composite property. See properties for each parameter.
The default value is: Medium None. The default value for Border-color will be in text color.

Description
Sets the border style of the object.
When you specify a border color (border-color) and Border width (border-width), you must specify both the border style (Border-style), or the border will not be rendered.
If you use this composite property to define its individual parameters, the default values for the other parameters will unconditionally override the respective individual property settings.
For example: setting Border:thin equals setting Border:thin None, and the default value for Border-color is the text color. Any previous border-color and border-width settings will therefore be cleared.
In ie5.5+, border properties can be applied directly to inline features. In previous versions, for inline features to use this property, you must first set the height or width property of the object, or set the Position property to absolute, or set the display property to block.
The corresponding script attribute is border.

Border-bottom-style version: CSS2 compatibility: ie4+ ns6+ Inheritance: None
Grammar:
Border-bottom-style:none | Hidden | Dotted | Dashed | Solid | Double | Groove | Ridge | Inset | Outset
Value:
None: Default value. No border. Not affected by any of the specified border-width values
Hidden: Hides the border. IE does not support
Dotted: ie4+ on Mac platforms with ie5.5+ on Windows and UNIX platforms. Otherwise, the solid line
Dashed: ie4+ on Mac platforms with ie5.5+ on Windows and UNIX platforms as dashed lines. Otherwise, the solid line
Solid: Solid Line border
Double: two-line border. Two single line with its interval and equal to the specified Border-width value
Groove: Draw a 3D groove based on the value of Border-color
Ridge: Draw a diamond border based on the value of Border-color
Inset: Draw 3D concave edge according to the value of Border-color
Outset: Draw 3D convex edge according to the value of Border-color

Description
Sets the style of the bottom border of the object.
This property is read-only for Currentstyle objects. Readable and writable for other objects.
In ie5.5+, border properties can be applied directly to inline features. In previous versions, for inline features to use this property, you must first set the height or width property of the object, or set the Position property to absolute, or set the display property to block.
If Border-bottom-width is set to 0, this property will lose its effect.
The corresponding script attribute is borderbottomstyle.

Html+css draw dashed lines, solid lines

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.