Log In · Register

 
text boxes with background how ?, how do i do this ?
ukrides
post May 25 2009, 01:54 PM
Post #1


Senior Member
***

Group: Member
Posts: 66
Joined: Aug 2007
Member No: 562,263



hey well i want to put a background pic in text boxes in a div layout so i need it in a div code. does anyone know how to do this ?
 
 
Start new topic
Replies
crafty-designs
post May 25 2009, 07:01 PM
Post #2


crafty. :]
**

Group: Official Designer
Posts: 16
Joined: Aug 2007
Member No: 562,092



QUOTE(ukrides @ May 25 2009, 10:54 AM) *
hey well i want to put a background pic in text boxes in a div layout so i need it in a div code. does anyone know how to do this ?


Text boxes as in div tables?
There are two ways.
One way is stating it in the stylesheet code.
CODE
<style>.about
{background-image:url(IMAGE);}</style>

<div class="about">
akjdghskjdghskfjg
</div>


Second way is to state it in the <div> tags.
CODE
<div style="background-image:url(IMAGE);">

shhdahd
</div>


If you want to add more parameters like repeating, background color, etc.
check this site and on the bottom will give you it.
http://www.w3schools.com/css/css_background.asp
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: