DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   HTML and CSS (http://www.daniweb.com/forums/forum143.html)
-   -   Type on top of a graphic (http://www.daniweb.com/forums/thread8065.html)

buddyb Jul 14th, 2004 1:15 pm
Type on top of a graphic
 
I'm not sure how to get that to happen. I saw it discussed once, but have forgotten the method and particulars. Any thoughts?
Thanks,
BuddyB

RobUK Jul 14th, 2004 2:04 pm
Re: Type on top of a graphic
 
you want to be able to type over a graphic using an input box? or just overlay text on a graphic?

if it's an input box, use <textarea style="background: url(pathtographicfile.jpg)"></textarea>"

If it's the other, then you will prolly need to absolutely position the graphic under the text with x/y co-ordinates

buddyb Jul 14th, 2004 8:39 pm
Re: Type on top of a graphic
 
Will type always be on top?
BuddyB

buddyb Nov 29th, 2004 9:48 pm
Re: Type on top of a graphic
 
Quote:

Originally Posted by RobUK
If it's an input box, use <textarea style="background: url(pathtographicfile.jpg)"></textarea>"

"Input Box." By that do you mean a layer?

BuddyB

DaveSW Nov 30th, 2004 11:10 am
Re: Type on top of a graphic
 
he's using a text area, a type of input box, which is a form element.
You can use a td cell, a div, a p, or whatever in the same way.


All times are GMT -4. The time now is 11:58 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC