The IMG tag is positioned at an absolute position, and the image is displayed on top of the signature.

Source: Internet
Author: User

This function is generally implemented as follows:

First, use PS to make the image transparent. Click "new"> "layer"> "layer background", select a layer with the magic wand, and press "delete" to delete Beijing. The image is roughly as follows:

Store the image as GIF and check the transparency in the pop-up index color. The PGN format is not transparent on IE6, so it must be GIF.

Add a div to the web form. Place the IMG label in the div.

<Div id = "layer1">
<Asp: Image id = "image1" runat = "server"/>
</Div>

And then write it in CSS. # Content in layer1 {} is the attributes of the image.

<HTML xmlns = "http://www.w3.org/1999/xhtml">
<Head id = "head1" runat = "server">
<Title> No title page </title>
<Style type = "text/CSS">

# Layer1
{
Position: absolute;
Width: 200px;
Height: 115px;
Z-index: 1;
Left: 150px;
Top: 210px;
}

</Style>

The image size and the distance from the upper left corner can be adjusted.

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.