Log In · Register

 
 
Closed TopicStart new topic
DIV help
TurnthexMusicUp
post Feb 21 2007, 08:38 PM
Post #1


Newbie
*

Group: Member
Posts: 3
Joined: Nov 2006
Member No: 483,563



so i got my DIC layout all down it looks pretty amazing. but how can i make my individual DIV areas a different backgorund color then the actual background, so they look like tables? or put a boarder aorund them? do u know what i mean? if anyone can help?
thanks
 
choombawamba
post Feb 21 2007, 08:41 PM
Post #2


Newbie
*

Group: Member
Posts: 8
Joined: Feb 2007
Member No: 505,009



try putting the css in the code

background color
background-color:XXXXXX;

background image
background-image:url("XXXX");

border
border-width:XX;
border-color:XXXXXX;
borderstyle:solid;
 
clarity
post Feb 21 2007, 09:39 PM
Post #3


vengeance.
*******

Group: Official Member
Posts: 3,058
Joined: Jul 2006
Member No: 437,024



add this to the DIV code
CODE
background-color:#XXXXXX

then the DIV code should look something like this:
CODE
<div style="width:#; height:#; background-color:#XXXXXX">
content here lalala
</div>


Just make sure you replace XXXXXX with the proper hex code.
 

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