What does border mean?
Border means "border". Usually border refers to the css property used to set all border styles.
All browsers support the border attribute.
Note: IE7 and earlier browsers do not support the value "inherit". IE8 requires !DOCTYPE. IE9 supports "inherit".
CSS border property
Example
Set four border styles:
p { border:5px solid red; }
Tag definition and usage instructions
Abbreviated border properties set all border properties in one declaration. /p>
The properties that can be set are (in order): border-width, border-style, and border-color.
It doesn’t matter if one of the above values is missing, for example, border:# FF0000; is allowed.
The above is the detailed content of What does border mean?. For more information, please follow other related articles on the PHP Chinese website!