Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Oct 2009
    Posts
    102
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to write a test on the image

    how to write a test on the image

    Hi
    is there any way to put a test on the image ? for example , this code

    <table width="80%"> <tr> <td align="center" ><img src="10000000.png" width="100%" height="60px"/> ><span style="overflow:hidden"> test </span></td></tr></table>

    i want to put the test ( here is test ) on the image .

    how can do it so ?

    thanks

  • #2
    Regular Coder Zangeel's Avatar
    Join Date
    Oct 2007
    Location
    public_html/
    Posts
    638
    Thanks
    17
    Thanked 79 Times in 79 Posts
    Set it as the background image, for example

    Code:
    <div style="background-image:url('10000000.png');width:100px;height:100px">Text here is on the image</div>
    EDIT: Make sure to define width and height in the style tags
    Last edited by Zangeel; 12-01-2009 at 05:59 AM.
    PHP Code:
    $aString is_string((string)array()) ? true false// true :D 
    [/CENTER]

  • #3
    Regular Coder
    Join Date
    Dec 2007
    Posts
    107
    Thanks
    0
    Thanked 3 Times in 3 Posts
    Also for the test, you may need to define to position & top properties for the <Span>
    Programming & Webmaster Forum - AdSense Revenue Sharing forum


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •