Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
How to add an inline layer in HTML?
Use the
This is in contrast to the
The HTML
| Attribute |
Value |
Description |
|---|---|---|
| above |
layer name |
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 |
layer name |
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 |
layer name |
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 |
Determines whether the inline layer is visible. |
| hide inherit |
||
| 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. |
Example
You can try to run the following code to implement
HTML ilayer Tag Thisword is shifted down, while thisone is shifted over. With a negative value, words can be movedup and to theleft .
Advertisements
