Jump to content


Photo

text over image??


  • Please log in to reply
4 replies to this topic

#1 almightyegg

almightyegg
  • Members
  • PipPipPip
  • Advanced Member
  • 791 posts
  • LocationEngland

Posted 26 October 2006 - 10:47 PM

i want to put text over:
<span style="float:left;filter:alpha(opacity=10);-moz-opacity:.10;opacity:.10;">
<img src="http://www.lordofthe...mages/map.png">
</span>

WITHOUT making it opaque with the image and preferably with out using position:absolute;
is that possible?
Visit my Game - Under Construction

#2 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 27 October 2006 - 05:45 AM

You can't position the text over the image without setting, well, a position.

#3 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 27 October 2006 - 08:49 AM

two ways. daniel got the first the second is to set the display property of the span to block (or float it!) give it a heigt and width of the image you want and set your image as the background.
follow me on twitter @PHPsycho

#4 Netty

Netty
  • Members
  • PipPip
  • Member
  • 12 posts
  • LocationLiverpool

Posted 27 October 2006 - 05:41 PM

yer, i would go with setting it as a BG!
With Regards,

Annette

#5 drcdeath

drcdeath
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 28 October 2006 - 07:02 PM

<td background="imagename.ext" height="imageheight" width="imagewidth"><font color="yellow"><b>You're done!</b></font>

Done.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users