Current location - Recipe Complete Network - Food world - Html making poster code-how to make PS Taobao poster slices
Html making poster code-how to make PS Taobao poster slices

how to use html code to realize picture carousel on Taobao!

< marquee>

< Imgsrc=' Picture 1'>

< Imgsrc=' Picture 2'>

< Imgsrc=' Picture 3'>

< /marquee> How to slice the PS Taobao poster

1. First, save the file in PS. After cutting the picture with the slicing tool (shortcut key is C), save it in Web format (shortcut key is CtrlAltShiftS). Pay attention to the file size. If it is too small, it is not clear, which is not conducive to viewing. If it is too large, the web page will open slowly. Adjust it according to the file size. When saving, choose "Html and image"

2. Use notepad.

3. Next, upload the pictures exported from your PS to the picture space in Taobao background, Taobao Home-Seller Center-Picture Space. The location of the pictures depends on personal habits, as long as you can find them.

4. Next, replace the address of the picture in the html file with the address of our spatial picture, and find the spatial picture. There is a "Copy Code" button under the thumbnail of the picture. Click it to copy the code to the clipboard.

Replace the picture: find the corresponding picture replacement code

5. Open the Taobao custom module. The custom module should first click the source button to enter the code editing page, copy the modified code and paste it into the Taobao custom module.

6. finally, click "ok" to finish!

Let's talk about another method. You should have Dreamweaver software, which is specially designed for web pages. When you do step 1 above, you should open the html file with Dreamweaver, click the picture in the software, and there is the picture address in the property panel below. This time, the "link" of copying the space picture is the button in front of the "code". Replace the original address in the software and paste it into the Taobao custom module after all replacement. It can also be reduced by using software. How to make e-mail marketing posters

Marketing posters are all emails in html format, that is,

Edm e-mail design specifications in web page format

1. Requirements for design documents:

(1) Unparalleled documents such as Photoshop, Flash, Illustrator, CorelDRAW and Freehand of e-mail design draft;

(2) the font file DD.ttf used;

(3) Other picture files that need to be used are DD.gif file,. jpg file or. tif file.

2. design requirements:

(1) width of mail:

the standard width of mail is 575 pixels, and the maximum width should not exceed 778 pixels, otherwise it must be modified.

(2) the height of the email:

There is no specific requirement for the height of the email, but it should depend on the content of the email. It is suggested that the page height should not be too long to affect browsing, and the maximum length should not exceed 1,211 pixels, that is, 2.5 screens, otherwise it must be modified.

(3) the size of the email:

_ The size of the html file of the email body (excluding pictures or flash) should be controlled within 11k;

_ The file size of email containing pictures, including pictures, should be controlled within 31k-121k;

_ emails containing flash or streaming media format files, including flash or streaming media format files, should be controlled within 51k-251k, otherwise they must be modified (except in special circumstances);

(4) Scripting is forbidden

_ No scripting language is supported in email: most email client software and webmail do not support any scripting language by default;

_ framed pages and I-frames cannot be used in mail.

(5) Design requirements for emails containing flash or streaming media format files:

You need to design a static picture (.jpg or. gif) with the same style and size as the contents of the flash or streaming media format files, and set it as the background picture of the table where the flash or streaming media format files are located, and remind users that this part is designed in Flash (or streaming media) format, please click the link at the top of the email to watch the online version.

(6) it is forbidden to use external style sheets.

(7) The customer should obtain the copyright of the sound, image and other contents needed to be used in the mail.

3. Design suggestion:

(1) For the pictures in the page, it is suggested to divide the pictures over 15k into small pictures to ensure the smooth process of downloading pictures;

(2) The number of pictures should not be too much, and it is suggested that the number should be less than 21, and the number of Gif animation files should be controlled within 3;

(3) It is suggested to use background pictures as little as possible, because complicated background pictures are not conducive to browsing text content;

(4) If you can use system characters, you should try to avoid using picture characters to reduce the file size;

(5) The minimum font size of Chinese system characters used on web pages should be guaranteed to be 1.2 pixels, and the default song style or bold type should be used to avoid using other Chinese fonts;

(6) When using sound effects, the volume should be gradually increased from small to normal; At the same time, a simple and convenient open/close button should be set;

(7) The design of email focuses on the first half to attract readers' attention;

(8) flash design with storyline should start with the download screen to attract readers to wait for download;

(9) The td of the background picture should be increased to avoid the abnormal picture display of some clients;

(11) All clicks in the email should use a pop-up window.

The following is the style of an e-mail poster I received. You can copy the selected code into a txt document, and then change the suffix. txt to. html, which is an e-mail marketing poster in the form of a web page. You can have a look at it.

<; ! DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.1Transitional//EN""

">

< htmlxmlns="

">

< head>

< metahttp-equiv="Content-Type"content="text/html; charset=gb2312"/>

< title> Untitled document <: /title>

< style>

< ! --

*{margin:1; padding:1}

A:link{

COLOR:#111111; TEXT-DECORATION:none

}

A:visited{

COLOR:#111111; TEXT-DECORATION:none

}

A:hover{

COLOR:#111111; TEXT-DECORATION:underline

}

.content{width:721px; height:888px; border:6pxsolid#9BD44F; border-top:none; }

.topul{list-style:none; margin-left:16px; margin-top:11px}

.topulli{display:inline; padding-right:8px}

.title1{margin-left:16px; }

.products{width:687px; height:517px; border:1pxsolid#9BD44F; border-top:none; margin-left:16px}

.every{}

.everyUL{

TEXT-ALIGN:center; margin-left:15px; list-style:none; }

.everyULLI{

BORDER-RIGHT:#d1d1d11pxsolid; PADDING-RIGHT:6px; BORDER-TOP:#d1d1d11pxsolid; PADDING-LEFT:2px; FLOAT:left; PADDING-BOTTOM:8px; MARGIN:8px6px1px1px; BORDER-LEFT:#d1d1d11pxsolid; WIDTH:151px; PADDING-TOP:8px; BORDER-BOTTOM:#d1d1d11pxsolid; TEXT-ALIGN:center

}

.size14{

FONT-SIZE:12px;

}

.zc_grey{

FLOAT:left; MARGIN-LEFT:11px; COLOR:#666666; TEXT-DECORATION:line-through; font-size:12px;

}

.zc_red{color:#FF1111; font-size:12px}

.bolder{

FONT-WEIGHT:bolder;

}

.color{

COLOR:#119911

}

.margin_top{

MARGIN-TOP:4px

}

.index_product3{

MARGIN-TOP:-32px; DISPLAY:inline; Z-INDEX:12; BACKGROUND:url(

)no-repeat; MARGIN-LEFT:41px; WIDTH:41px; COLOR:#fff; POSITION:absolute; HEIGHT:41px; TEXT-ALIGN:center

}

.index_product4{

PADDING-RIGHT:1px; PADDING-LEFT:1px; PADDING-BOTTOM:1px; PADDING-TOP:9px; TEXT-ALIGN:center; font-size:12px

}

-->

< /style>

< /head>

< body>

< divclass="main">

< divclass="logo"> < ahref="

"> < imgsrc="

/images/"border="1"/> < /a> < /div>

< divclass="content">

< divclass="title"> < imgsrc="

/images/haibao_"/> < /div>

< divclass="top">

< ul>

< li> < ahref="

"> < imgsrc="

/images/haibao_"border="1"/> < /a> < /li>

< li> < ahref="

"> < imgsrc="

/images/haibai_"border="1"/> < /a> < /li>

< Li> < ahref="

"> < imgsrc="

/images/haibao_"border="1"/> < /a> < /Li>

< /ul>

< /div>

< divclass="down">

< divclass="title1"> < imgsrc="

/images/haibao_"/> < /div>

< divclass="productsevery">

< ul>

< LI>

< DIVstyle="Z-INDEX:11"> < Ahref="

/"

target=_blank> < IMGheight=151src="

/assets/products/548/original/7.gif"width=151

border=1> < /A> < /DIV>

< DIVclass=index_product3>

< DIVclass=index_product4> Rebate <; BR>

5.6%< /DIV>

< /DIV>

< Pclass="size14margin_top"> < Ahref="

/"

target=_blank> chiffonandlacetrimming< /A> < /P>

< Pclass="size14margin_top"> From: <; A

href="

/"target=_bla