Just as desktop publishing software hides but doesn??™t delete the portion of the picture outside the
crop marks, AP elements can mask the area outside the clipping region defined by the Left, Top, Right, and
Bottom values in the Clip section of the CSS-P Property inspector.
All clipping values are measured from the upper-left corner of the AP element. You can use any CSS standard
measurement system: pixels (the default), inches, centimeters, millimeters, ems, or picas.
The current implementation of CSS supports only rectangular clipping. When you look at the code for a
clipped AP element, you see the values you inserted in the CSS-P Property inspector in parentheses following
the clip attribute, with the rect (for rectangular) keyword, as follows:
width:400px; height:115px; z-index:1; visibility:inherit; ;
clip:rect(10px 100px 100px 10px)???>
379
Working with Divs and AP Elements 11
380
Adding Advanced Design Features Part III
A Visual Clipping Technique
In Dreamweaver, you cannot draw the clipping region visually??”the values have to be explicitly input in the
Clip section of the CSS-P Property inspector. That said, a trick using a second temporary AP element can
make it easier to position your clipping.
Pages:
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753