div help |
div help |
Jul 19 2006, 02:23 AM
Post
#1
|
|
![]() valerie ![]() ![]() ![]() Group: Member Posts: 80 Joined: Jul 2005 Member No: 183,864 |
is there a way to add a background to a div with in a div?
does that make sense? im making a div and i want my boxes to be different colors the code im using is CODE <div class="content" style="position: absolute; left:000px; top:000px; width:000px; height:000px; overflow: auto;"><center> CONTENT FOR DIV. </div> i want to add a background color to that is that possible? |
|
|
|
![]() |
Jul 19 2006, 02:46 AM
Post
#2
|
|
![]() Nothing But The DOG In Me. ![]() ![]() ![]() ![]() Group: Member Posts: 189 Joined: Mar 2005 Member No: 117,860 |
ok replace that code with:
CODE <div class="content" style="position: absolute; left:000px; top:000px; width:000px; height:000px; overflow: auto; background-color:XXXXXX;"><center> CONTENT FOR DIV. </div> all i did was put background-color:XXXXXX; in the style section of the layer |
|
|
|
prongs0101 div help Jul 19 2006, 02:23 AM
Loud sur13 a background image or background color? Jul 19 2006, 02:27 AM
prongs0101 background color Jul 19 2006, 02:41 AM![]() ![]() |