Click here to Skip to main content
15,926,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to write the text in image center using javascript
HTML
<div class="vcenter">
<img src="blwebcam-sample.jpg" alt="Suni" class="center" /></div>


pls give me any idea
Posted
Updated 14-May-12 7:13am
v2
Comments
Sandeep Mewara 14-May-12 13:14pm    
Not clear. What do you mean by 'text in image center' ? Please elaborate.

XML
<TABLE><TR valign=center>
  <TD align=center background="some image"> image label </TD>
</TR></TABLE>
 
Share this answer
 
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.
 
Share this answer
 
v5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900