css border-right property is used to set all properties of the right border into one statement. You can set the following properties in order: border-right-width, border-right-style, border-right-color.
c#ss How to use the border-right property?
Function: Set all properties of the right border into one statement.
Instructions: The following properties can be set in order: border-right-width, border-right-style, border-right-color. If you do not set one of the values, there will be no problem. For example, border-right:solid #ff0000; is also allowed.
Note: IE7 and earlier browsers do not support the value "inherit". IE8 requires !DOCTYPE. IE9 supports "inherit".
css border-right property usage example
<html> <head> <style type="text/css"> p { border-style:solid; border-right:thick double #ff0000; } </style> </head> <body> <p>This is some text in a paragraph.</p> </body> </html>
Effect output:
The above is the detailed content of How to use css border-right property. For more information, please follow other related articles on the PHP Chinese website!