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 (1 - 4)
Mulder
post May 19 2006, 08:09 PM
Post #2


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

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



you could have a scrolling background image, or you could designate a height in your <div> or in your css (whichever you prefer)
 
towntown2
post May 19 2006, 08:59 PM
Post #3


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

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



can you give me an example code?
 
Mulder
post May 22 2006, 04:05 PM
Post #4


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>
 
towntown2
post May 22 2006, 06:06 PM
Post #5


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

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



goodness, michelle!
I just wanted an example because I wasn't too sure what you were talking about.

No need to get snipe about it.
Close the topic.
 

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