オブジェクトの位置決め

An object, such as an image, is positioned within a document using anchors attached to other elements.

An anchor determines the reference point for an object. The reference point could be the page or frame where the object is, a paragraph, or even a character. An image always has an anchor and therefore a reference point.

An anchor moves with the element it is attached to as the document is edited. An object retains its position relative to the reference point determined by its anchor, such that, whenever the reference point moves or changes, the object moves relative to it.

The following anchoring options are available:

アンカー

効果

文字として

Anchors the selected object as a character in the current text. If the height of the selected object is greater than the current font size, the height of the line containing the object is increased.

HTML ページ上でイメージを中央に配置するには、イメージを挿入し、そのイメージを「文字として」アンカーしてから段落を中央に配置します。

文字に

Anchors the selected object to the paragraph that contains the character to which the anchor is attached. The reference point for the object is the start of the paragraph that contains the character.

For example, if you split the paragraph at a point before the anchor, the reference point moves to the start of the new paragraph and the object moves relative to that point. If you join the paragraph to the one before it, the reference point moves to the start of the combined paragraph and the object moves to a position relative to that.

段落に

Anchors the selected object to the current paragraph.

ページに

Anchors the selected object to the current page.

枠に

選択項目を、周囲の枠にアンカーします。


When you insert an object, graphic, or frame, an anchor icon appears where the object is anchored. You can move an anchor or, keeping other object constraints in mind, position an object relative to the anchor's reference point by dragging the object. To change the anchoring options of an item, right-click the item, and then choose an option from the Anchor submenu.