Html-ilayer-tag

提供:Dev Guides
移動先:案内検索

HTML-<ilayer>タグ

説明

HTML <ilayer>タグを使用して、テキストフローを含むスペースを占めるレイヤーを作成します。 後続のコンテンツは、<ilayer>が占有するスペースの後に配置されます。

これは、含まれているテキストフローの上にレイヤーを作成する<layer>タグとは対照的で、作成したレイヤーの下に後続のコンテンツを配置できます。

<!DOCTYPE html>
<html>

   <head>
      <title>HTML ilayer Tag</title>
   </head>

   <body>
      This <ilayer top = "4">word</ilayer> is shifted down, while this
         <ilayer left = "10">one</ilayer> is shifted over. With a negative value,
         words can be moved <ilayer top = "-4">up</ilayer> and to the
         <ilayer left = "-10">left</ilayer>.
   </body>

</html>

これは、次の結果を生成します-

結果はNetscape 4でのみ機能します。

グローバル属性

このタグは、− link:/html/html_attributes_reference [HTML属性リファレンス]で説明されているすべてのグローバル属性をサポートします

特定の属性

HTML <ilayer>タグは、次の追加属性もサポートしています-

Attribute Value Description
above layername The name of the inline layer that will be positioned directly above the current layer in the z-order.
background URL A filename or URL for an image upon which the inline layer’s text and images will appear.
below layername The name of the inline layer that will be positioned directly below the current layer in the z-order.
bgcolor rgb(x,x,x) #xxxxxx colorname The color to use for the inline layer background.
clip number The coordinates of the inline layer’s viewable area.
height pixels The inline layer’s height, in pixels.
left number The position of the left side of the inline layer. If the current inline layer is part of another layer.called the parent layer-then the position is relative to the parent layer.
name layername The name of the inline layer.
pagex number The position of the left side of the inline layer relative to the browser window.
pagey number The position of the top of the inline layer relative to the browser window.
src URL The URL of a page that will appear inside the inline layer.
top number The position of the top of the inline layer. If the current inline layer is part of another layer—​called the parent layer—​then the position is relative to the parent layer.
visibility show hide inherit Determines whether the inline layer is visible.
width pixels The inline layer’s width, in pixels.
z-index number The inline layer’s position within the z-order. Inline layers with higher Z-INDEX values are positioned above inline layers with lower Z-INDEX values.

イベント属性

このタグは、− link:/html/html_events_reference [HTMLイベントリファレンス]で説明されているすべてのイベント属性をサポートします。

ブラウザのサポート

Chrome Firefox IE Opera Safari Android
No No No No No No