View Single Post
  #3 (permalink)  
Old Mar 8th, 2008, 18:49
Aso's Avatar
Aso Aso is offline
Chief Moderator

SuperMember
Join Date: Oct 2007
Location: UK
Posts: 1,039
Blog Entries: 2
Thanks: 5
Thanked 26 Times in 23 Posts
Re: two backgrounds! can it be done?

You can use the html and body elements of your HTML to create a layered background.

Since html appears before body in the semantic structure of your HTML, this will be the 'lower' layer of the two (any background you apply to body will mask over html)

An example CSS
Code: Select all
html {
background: #fff url('path/to/seperate/img.png') no-repeat 0 0;
}
body {
background: url('path/to/transparent.png') repeat-y 50% 0;
}
If you're having problems, upload the changes and I'll check it out
Reply With Quote