Home  >  Article  >  Web Front-end  >  What does border mean?

What does border mean?

藏色散人
藏色散人Original
2019-08-05 10:22:0426892browse

What does border mean?

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What does canvas mean?Next article:What does canvas mean?