Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
using css to put text on an image
Old 10-12-2007, 02:12 PM using css to put text on an image
TEB
TEB's Avatar
Super Talker

Posts: 149
Name: Josiah
Location: California
Trades: 0
How do you put a text field or text area on top of something like an image or banner?

Thanks.
TEB is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-12-2007, 02:23 PM Re: using css to put text on an image
Brendan22's Avatar
Extreme Talker

Posts: 202
Name: Brendan
Location: ohio USA
Trades: 0
You set the image as the background of the containing element

Code:
#element {
display: block;
height: (height of image)px;
height: (width of image)px;
background: url(yourimage.png) no-repeat; 
}
EDIT: 200th post! w00t
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Brendan22 is offline
Reply With Quote
View Public Profile Visit Brendan22's homepage!
 
Reply     « Reply to using css to put text on an image
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10015 seconds with 12 queries