text boxes with background how ?, how do i do this ? |
text boxes with background how ?, how do i do this ? |
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 ?
|
|
|
|
![]() |
Jun 20 2009, 07:25 AM
Post
#2
|
|
![]() Mel Blanc was allergic to carrots. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 6,371 Joined: Aug 2008 Member No: 676,291 |
If you want to change the background color of a div section, use this code:
CODE <style> .DIV_CLASS_NAME { background-color:??????; } </style> Just replace the ?????? with a hex code for your color. Then once you use the div code: CODE <div class="DIV_CLASS_NAME"> blah blah blah </div> It'll show up with that background color. Note: The .DIV_CLASS_NAME can be some other totally different class name. For a text area (where you can display codes), use this code: CODE <style> .textarea { background-color:??????px; } </style> Again, just replace the ?????? with any hex color code of your choice. Then, once you use the <textarea> tag, the background color will show up. CODE <textarea> blah blah blah </textarea> And voila, a background color. |
|
|
|
ukrides text boxes with background how ? May 25 2009, 01:54 PM
Jonathan-Andrew have you even tried looking in the SCRIPTS section... May 25 2009, 02:17 PM
ukrides QUOTE(Jonathan-Andrew @ May 25 2009, 08... May 25 2009, 02:48 PM
crafty-designs QUOTE(ukrides @ May 25 2009, 10:54 AM) he... May 25 2009, 07:01 PM![]() ![]() |