Thursday, November 19, 2009

Overlap text infront of an image

Put a text in your image without editing it by using this code below.


<div id=image><img src='IMAGE URL HERE'></div><div style='position: relative; top: -75px; color: white; font-weight: bold;'>TEXT HERE</div>

Note: You can also use the "left" style (ex - 'left: 10px') to position your text to the left. You can also change the colors depending on what you like.

Try it now!

No comments:

Post a Comment

leave some love <3