Log In · Register

 
content background
towntown2
post May 19 2006, 05:56 PM
Post #1


Mais je ne l'aime pas
*****

Group: Member
Posts: 971
Joined: Mar 2005
Member No: 108,135



My site has background colors on the content and sidebar. Now, it stops when the content stops.

How do you I make it so that the background colors would go on all the way to the end of the page even if there isn't content there?
 
 
Start new topic
Replies
Mulder
post May 22 2006, 04:05 PM
Post #2


i lost weight with Mulder!
*******

Group: Official Designer
Posts: 4,070
Joined: Jan 2005
Member No: 79,019



....
CODE
<style type='text/css'>
body {
background-image: url("imageurlhere");
background-repeat: repeat-y;}
</style>


and honestly, if you cant code simple css like that, you shouldn't have a website.

example with designating height in css:
CODE
<style type='text/css'>
.background {
position: absolute;
top: #px;
left: #px;
width: #px;
height: #px;
background-image: url("imageurl");}
</style>

<div class="background">&nbsp;</div>
 

Posts in this topic


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