Tuesday, October 13, 2009

The applied skill of Dreamweaver middle-level

Problem: Should be picture a moment can come true in two layers, but if have FLASH,be washed-up, picture of that is to say can be obscured by FLASH forever. How to do?


About the layer in Dreamweaver

The layer was to be allocated the HTML page element of absolutely position - specifically, it is Div label or any other label. The layer can include text, picture or other any content that can put in HTML documentation text.

Attention

The layer that says in this chapter belongs to the layout concept of Dreamweaver, is not Layer label.

Understand the concept of the layer

Pass Dreamweaver, you can use a layer to devise the overall arrangement of the page. You can set layer from beginning to end, conceal certain layer and show other layer, and mobile on screen layer. You can set background picture in a layer, lay the 2nd layer in front of this next, it includes the text version that contains transparent setting.

It is OK to use a layer special and agile ground places content. But, the trouble may be encountered when the person that the site of the Web browser that uses old version is visited examines a layer. If want to ensure everybody can examine your Web page, can use a layer to devise page overall arrangement, it is layer changeover the watch next. About more information, refer to please the layer changeover is form. But, if what you face the person that visit uses some kind of newest browser probably, can devise overall arrangement completely with the layer, and need not be layer changeover form.

About the HTML code of the layer

The layer is laid in documentation when you when, dreamweaver will insert this HTML label in code. Below acquiescent circumstance, dreamweaver can use Div label to found a layer.

Attention

You still can use additionally two kinds of label to found a layer: Layer and Ilayer. But, only Netscape Navigator 4 bears these label; Internet Explorer does not bear these label, and Netscape also bears these label no longer in newer browser. Dreamweaver can identify Layer and Ilayer tag, but do not use these label to found a layer.


Using " scale layer " when tool scale layer, dreamweaver can insert Div label in documentation, be worth for layer allocation Id (below acquiescent circumstance, layer1 expresses the ground floor of scale, layer2 expresses the 2nd of scale, the rest may be deduced by analogy) . Later, can use " layer " face plate or " attribute " examination implement the layer rechristen is any wanted names. Dreamweaver still uses documentation head medium embedded CSS will locate layer and affirmatory layer cut size really.

The HTML code give typical examples of a layer is below:

<head>
<meta Http-equiv="Content-Type" Content="text/html; Charset=iso-8859-1" />
<title>Sample Layers Page</title>
<style Type="text/css ">
< ! - -
#Layer1 {

Position:aBsolute;Left:62px;Top:67px;Width:421px;Height:188px;Z-index:1;

}
- ->
</style>
</head>

<body>
<div Id="Layer1"></div>
</body>
</html>
You can install the attribute of page superstratum, include axle of X and Y coordinate, Z among them (also call pile order) and visibility. About more information, refer to parameter of setting layer first selection and attribute please.

No comments:

Post a Comment