It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Text over image

Text over image

Postby daemonzul on Thu Jan 21, 2010 3:47 pm

I made the mistake of slicing an image and making rollovers and all that jazz. Now if I just want to put text on the page I have to open the image file and add the text to the image. Is there a way to float the text over an image without throwing the alignment of all the images out of wack. When I add text it shift the images to make room and everything else is shifted as well. The page is set-up using tables...so is there a way to add text to a table over the "img src" tag?
daemonzul
100+ Club
 
Posts: 106
Joined: Fri Jan 15, 2010 8:21 pm

Re: Text over image

Postby harrierdh on Thu Jan 21, 2010 5:43 pm

You could put the image in CSS as a background-image. Then the text would show over top.

<td style="background-image: url(myimage.jpg);">Some Text</td>
harrierdh
50+ Club
 
Posts: 51
Joined: Wed Dec 16, 2009 7:04 pm


Who is online

Users browsing this forum: No registered users and 4 guests