如何使用javascript在图像中心中编写文本 [英] how to write the text in image center using javascript
本文介绍了如何使用javascript在图像中心中编写文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用javascript在图像中心书写文字
How to write the text in image center using javascript
<div class="vcenter">
<img src="blwebcam-sample.jpg" alt="Suni" class="center" /></div>
请给我任何想法
pls give me any idea
推荐答案
<TABLE><TR valign=center>
<TD align=center background="some image"> image label </TD>
</TR></TABLE>
如果我的理解是正确的,我们的要求是在图像中心写一些内容.为此,您可以尝试
1)创建一个div设置图像背景.
2)以div的中心对齐方式写文本.
If my understanding is right... ur request is to write some content in the centre of the image.. for that you can try
1)create a div set the image background.
2)write the text u nee with the centre alignment for the div.
这篇关于如何使用javascript在图像中心中编写文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文