Difference between revisions of "CSS GUIDE BACKGROUND-POSITION-X"

From CDOT Wiki
Jump to: navigation, search
(Summary)
(Summary)
Line 1: Line 1:
 
span style="margin:0;background:#ffff33;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;">This document is a work in progress and is subject to change.</span><br /><br />
 
span style="margin:0;background:#ffff33;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;">This document is a work in progress and is subject to change.</span><br /><br />
 
== Summary ==
 
== Summary ==
 +
Establish the location of the left (x) or top (y) edges of the background image specified with the background-image attribute.
 +
<br>
  
 
'''Inherited: No'''
 
'''Inherited: No'''
Establish the location of the left (x) or top (y) edges of the background image specified with the background-image attribute
+
 
 +
 
 +
 
 +
 
 +
 
 +
This tag allows the user to specify the percentage of the block-level element's box width or height (respectively) at which the image (or repeated images) begins. Instead of percentages, you can specify length values (in the unit of measure that best suits the medium). In lieu of the numerical values, you may use one axis-specific constant value per attribute.
  
 
== Syntax ==
 
== Syntax ==

Revision as of 13:17, 13 December 2006

span style="margin:0;background:#ffff33;font-size:120%;font-weight:bold;border:1px solid #a3b0bf;text-align:left;color:#000;padding:0.2em 0.4em;">This document is a work in progress and is subject to change.</span>

Summary

Establish the location of the left (x) or top (y) edges of the background image specified with the background-image attribute.

Inherited: No



This tag allows the user to specify the percentage of the block-level element's box width or height (respectively) at which the image (or repeated images) begins. Instead of percentages, you can specify length values (in the unit of measure that best suits the medium). In lieu of the numerical values, you may use one axis-specific constant value per attribute.

Syntax

border-style: value optionalvalue2 optionalvalue3 optionalvalue4

Legal Values

Value Description

Mozilla Recommended Values

Usage Examples

p{border-style: dotted}

All four borders will be dotted.

p{border-style: dotted dashed}

Notes

Specification Conformance

CSS1 Conformance:

Browser Compatibility

Browser Compatibility: IE 4+ / NN 4+

See Also

Border Style Cascade Style Sheets Properties