CSS border is the CSS border that controls the object’s border edge width, color, dashed line, solid line and other style CSS properties.
Html table control border:
border="1" bordercolor="#000000"
Description: The width of the control table border is 1px, the css color is black, and the default is a solid style border.
1. Four borders
border-left sets the left border. Generally, use
# to set the left border style separately. ##border-right sets the right border. Generally, use border-top to set the right border style separately. Use border-top to set the top border. Generally, use border-bottom to set the bottom border. Generally, Set the bottom border style separately. Sometimes the bottom border style can be applied as a css underline effect.2. The abbreviation of border with the same border on four sides
#php{border:1px solid #00F}Set the php object box 1px pixel blue Solid border3. Three border styles
Usually we can set the three attributes and parameters of the border: width (thickness), border style, and border color. 1), border color: border-color:#0002), border thickness (width): border-width:1pxUse numerical units to set the border thickness Width, such as 1px (border thickness width is 1 pixel), the border must be a positive number, a value greater than 0. Otherwise, setting the border style is invalid. 3), border border style: border-style:solidThe border style value is as follows:
none: No border. Independent of any specified border-width valuehidden: Hide the border. IE does not support dotted: IE4 on the MAC platform and IE5.5 on the WINDOWS and UNIX platforms are dotted lines. Otherwise, it is a solid line (commonly used) dashed: IE4 on the MAC platform and IE5.5 on the WINDOWS and UNIX platforms are dotted lines. Otherwise, it is a solid line (commonly used) solid: solid line border (commonly used) double: double-line border. The sum of two single lines and their interval is equal to the specified border-width valuegroove: Draw a 3D groove based on the value of border-colorridge: Draw a diamond border based on the value of border-colorinset: Draw a 3D concave edge according to the value of border-coloroutset: Draw a 3D convex edge according to the value of border-color###The above is the detailed content of How to clear css border lines. For more information, please follow other related articles on the PHP Chinese website!