| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Mar 2008
Posts: 4
|
Other way to multiple backgrounds?
Hey everyone I have a problem to solve (that's why I'm here). You might want to take a look: www_kamil.vdl.pl/pred/ The problem is that I want: 1) to make some bloody edge on the right as it's on the left 2) put background image to the center The left bloody edge is made: Code:
Any ideas? sry 4 my english, hope you understand whats going on |
|
|
|
|
|
#2 (permalink) |
|
Registered User
Join Date: Feb 2007
Location: Glasgow, Scotland
Posts: 6
|
Hi, you had the right idea about adding another div for the right-hand image you just need to make your new div stretch the height of your body. For your body tag add height:100%; and then do the same for your right-hand background div. Hopefully that should fix it. |
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Mar 2008
Posts: 4
|
Thanks for your reply! May I show you code: Code:
Code:
Here's image: kamil.vdl.pl/upload/images/5310Snap1.jpg |
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Feb 2007
Location: Glasgow, Scotland
Posts: 6
|
Hi sorry I was doing this off the top of my head. I did a quick test in firefox and IE6 + IE7, the following should work: Code:
Basically you need to tell the html tag to stretch the height of the browser and then do the same for any child elements that require to be the full height. |
|
![]() |