The concept of Dreamweaver MX middle-level layer

Source: Internet
Author: User
Tags dreamweaver
dreamweaver| concept

Dreamweave is a good web page making software, Web page is also graphic design, like Photoshop,fireworks, this makes our software has been such a concept, like the software in the layers of the concept, in the page on the first floor of the production. But the limit is bigger, and everything is made in a rectangular frame.

Here we add a layer, insert the-〉 layout object-〉 layer, so we add a corresponding layer, let's take a look at his code.

<div id= "Layer1" style= "Position:absolute; width:250px; height:181px; Z-index:1; left:59px; top:51px; " >
<p><a href=http://blog.csdn.net/overmind>overmind</a></p>
<p>sdfasdfsafsadfsad<br>
SDFDADASDFDSFASDFASDFASDF </p>
</div>

This is a layer, set a simple location and size, z-index:1 represents the z-axis position of the layer, through the Access ID, you can use JS to operate a layer of action.

Layer of the default color is transparent, if changed to Background-color: #FFFFFF ", then layer of underground things are not visible, are blocked by white.

Experiments have shown that the greater the value of the z axis, the higher the level of the front.

<div id= "Layer1" style= "Position:absolute; width:250px; height:181px; Z-index:1; left:165px; top:124px; Background-color: #FFFFFF ">
<p>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>
<p>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</p>
</div>

<div id= "Layer2" style= "Position:absolute; width:250px; height:181px; Z-index:2; left:236px; top:142px; Background-color: #FFFFFF ">
<p>ccccccccccccccccccccccccccccccccccccccccccc</p>
<p>ddddddddddddddddddddddddddddddd</p>
</div>

The body of the Z-index should default is 0



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.