Log In · Register

 
div help
prongs0101
post 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?
 
 
Start new topic
Replies (1 - 3)
Loudsur 13
post Jul 19 2006, 02:27 AM
Post #2


Newbie
*

Group: Member
Posts: 4
Joined: Jul 2006
Member No: 437,750



a background image or background color?
 
prongs0101
post Jul 19 2006, 02:41 AM
Post #3


valerie
***

Group: Member
Posts: 80
Joined: Jul 2005
Member No: 183,864



background color
 
Loudsur13
post Jul 19 2006, 02:46 AM
Post #4


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
 

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