
334
ADOBE GOLIVE CS2
User Guide
C
A
B
D
E
Block set of CSS Inspector
A.
Sets invisible margins around the style item
B.
Sets floating style item position and size
C.
Sets distance between border and style
item
D.
Formats style item as a layer
E.
Clears or allows layers on either side of the style item
Cascading stylesheets are based on a simple block-oriented formatting model. Each item that hosts a style consists
of one or more rectangular blocks, each of which has a core content area with optional surrounding padding, border,
and margin areas. (Use the Margin and Padding Properties set to format surrounding areas.) This formatting model
gives you much more flexibility in controlling spacing between objects.
A
B
E
D
C
F
Cascading stylesheet block properties
A.
Block width
B.
Margin (transparent)
C.
Border
D.
Padding
E.
Content
F.
Element width
See also
“Relative and absolute units” on page 331
To set block properties for a style
1
Select a style in the CSS Editor and click the Block Properties set
of the CSS Inspector.
2
Specify the Width and Height properties for any item formatted with the current style by doing one of the
following:
•
Choose a unit of measurement from either the Width or Height Units menu, and enter a value in the text box.
Leave one dimension set to Auto to ensure that the item scales proportionally.
•
Leave both Width and Height set to Auto to display the referenced item in its original size.
Note:
Setting Width and Height is most useful with replaced elements, such as images.
3
In the Float menu, the float property creates a style item that is not part of the normal flow of text. Choose any of
the following options:
Left
Moves the style item to the left, so the text wraps on the right side of it.
Right
Moves the style item to the right, so the text wraps on the left side of it.
None
Causes the style item to appear where it occurs in the text.
Содержание GOLIVE CS2
Страница 1: ...Chapter 1 Copyright User Guide...
Страница 251: ...ADOBE GOLIVE CS2 242 User Guide...