text over graphic?

liunx

Guest
is there a way to put text over a picture in HTML?<br />
i've noticed that when i put the text on the picture in photoshop, the quality of the text is lower.<br />
<br />
NOTE: i want the text to always be over the picture, not like a mouse over.<br />
<br />
thanks,<br />
<br />
Mike<!--content-->take a look here:<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlgoodies.com/tutors/textonimages.html">http://www.htmlgoodies.com/tutors/textonimages.html</a><!-- m --><!--content-->short answer:<br />
<br />
use table/cell backgrounds, or use layers (not incredibly backwards-compatible).<br />
<br />
hit me with an e-mail if you want the long answer (i.e., and explanation of how to actually do either)<!--content-->Originally posted by clabber <br />
i've noticed that when i put the text on the picture in photoshop, the quality of the text is lower.i should also mention that Photoshop gives you some leeway as far as how you want your text anti-aliased ("de-jaggied"), which is why your text isn't quite as clear as it could be. some fonts anti-alias better than others, too.<!--content-->actually, the HTMLGoodies tutorial is better than what i could ever say about it, although the second example doesn't work. take a look at the source. he uses the same z position twice!<br />
<LAYER LEFT=250 TOP=100><br />
<IMG SRC=http://www.htmlforums.com/archive/index.php/"/images/newjoe02.jpg"><br />
</LAYER><br />
<br />
<LAYER LEFT=250 TOP=100><br />
<IMG SRC=http://www.htmlforums.com/archive/index.php/"/images/overtext.gif"><br />
</LAYER><!--content-->
 
Back
Top