Difference between revisions of "CSS GUIDE -MOZ-BORDER-RIGHT-COLORS"

From CDOT Wiki
Jump to: navigation, search
 
(No difference)

Latest revision as of 01:40, 14 December 2006

Summary

-moz-border-right-colors is a Mozilla property extension to CSS to use a color striping effect on the right border. Each colour is one pixel in the border. If you want the border to be 3 pixels wide you define each colour separated by a space.

Syntax

-moz-border-right-colors: [<color> | transparent,]* <color> | transparent

Legal Values

ValueDescription
inheritUse the value of this property from the parent element.
None[DEFAULT] Do not use any color striping for this border side.
Colour+Indicating one or more Colour values

Mozilla Recommended Values

<color> - specifies the color of a line of pixels in the right border

transparent - the line of pixels does not have its own color, instead showing the color of the element behind it

Usage Examples

<html>
<head>
<style type="text/css">
a.example {
  border: 5px solid #000000;
  /* The color of the right border will be red, green, blue, white, then white, starting at the outside */
  -moz-border-right-colors: #FF0000 #00FF00 #0000FF #FFFFFF;
}
</style>
<head>
<body>
<a class="example">Hello World </a>
</body>
</html>

Notes

Specification Conformance

Browser Compatibility

Netscape 6.+

Mozilla 0.9.8+

Firefox 1.5+

See Also

-moz-border-left-colors

-moz-border-top-colors

-moz-border-bottom-colors

References

Mozilla Developer's CSS

Mozilla Developer's CSS Extension

Mozilla Specific CSS

Netscape CSS