<?php
$im
=
ImageCreate(70,350)
$white
=
ImageColorAllocate($im,255,255,255)
$black
=
ImageColorAllocate($im,0,0,0)
ImageTTFText($im,20,270,28,10,$black,'courbi','The
courier
TTF
font')
header('Content-Type:
image/png')
ImagePNG($im)
?>
会将文字竖排排列显示。至于楼主想要的效果,建议楼主先去找一下这方面的资料研究一下吧。很容易的。
你好,下面是我改过的代码,你看一下:
<button onclick="document.getElementById('cs').value=document.getElementById('sxk').innerText">Copy Text</button>
A<i id="sxk">生活 - 旅游 - 自驾</i>
B<input type='text' name='cs' id='cs' style='width:250px' readonly="readonly" class='intxt' value='' />
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)