locked
Transform text into <img> (or something like that) RRS feed

  • Question

  • User-1937470642 posted

    Hi!

     

    I have to write some text inside my code, it can be into <div>, <p>, <span>, anything like that, but then I have to show it as a <img>.... using only HTML code....

    My text is created on the fly, so I can't just add the text directly into my image file, and I'm sending it to be show as an image, is there any possible way of doing this?!

     

    Any help is very apreciated!!!

    Thursday, October 16, 2008 4:28 PM

All replies

  • User-1939929478 posted

     This will help:

    http://www.asp101.com/articles/john/textimage/default.asp

     

    Thursday, October 16, 2008 5:57 PM
  • User2130758966 posted

     If you wanted to just show some kind of graphical text then you could use sifr but I have a feeling that you want a .net solution...

    Thursday, October 16, 2008 5:59 PM
  • User-1937470642 posted

    Didn't work....

     

    I guess I won't be able to do this, since I can use only HTML code.

     

    If I could just encapsulate the other tags inside an image tag, it would be so easy and nice, but that's something that just can't be done.

     

    I guess I'll have to write another page (or maybe an application), just to generate de image, post it somewhere, then in the page I can use I'll put only HTML code, since this is all I can have on the page I'll use.

     

    Thanks for the help! 

     

    Friday, October 17, 2008 1:36 PM