如何使用淘宝店铺公告栏素材,淘宝学堂在这里教大家写公告栏代码:
首先在网上找到你喜欢的素材,如图:
然后,通过右键获得图片的网络地址(为了图片稳定,最好是把素材下载传到自己的相册)和图片大小尺寸。
上图中的网络地址为https://www.kxphy.com/file/upload/201410/07/11-34-13-47-1.gif
图片尺寸为400×400。
公告的代码如下:
<table width="400" height="400" border="0" cellpadding="0" cellspacing="0" background="https://www.kxphy.com/file/upload/201410/07/11-34-13-47-1.gif">
<tr>
<td height="119" colspan="3"> </td>
</tr>
<tr>
<td width="69" height="120"> </td>
<td width="289" valign="top">请在这里输入文字,例如:欢迎光临</td>
<td width="42"> </td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
</table>
说明:以后只需把代码红色部份根据图片的大小修改一下就可以使用了。
直接复制上面的代码,然后粘贴到编辑器中就可以了。