The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Hey all, I'm trying to get 2 images to be used as the background of my site but it's not going too hot. I've tried doing what http://www.w3.org/TR/css3-background/#layering said but it's just not showing up, here's what the code looks like (coping and pasting from the source on the actual page):
Code:
<!--
/* vBulletin 3 CSS For Style 'test' (styleid: 2) */
body
{
background: #FFFFFF;
color: #000000;
font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
margin: 5px 10px 10px 10px;
padding: 0px;
background-image: url(/images/test.gif), url(/images/test2.gif);
background-attachment: fixed, fixed;
background-repeat: no-repeat, no-repeat;
background-position: left bottom, top right;
}
So what am I doing wrong? Any help would be much appreciate. |
|
#2
|
||||
|
||||
|
I haven't tested this recently but the last I remember only Safari supports the layering background image effect.
|
|
#3
|
||||
|
||||
|
greeeeeeeaaaaaat.... does that mean that all the browsers current support CSS2 and Safari is the only one that supports CSS3?
|
|
#4
|
||||
|
||||
|
Not all browsers support CSS2 but as for CSS3 I think so. You may, however, be able to use multiple <div> or <span> tags with each containing a background image with independent values. That'll be interesting.
|
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
||||
|
||||
|
You may need to add the opening <div> or <span> tag(s) in the Header itself, above all HTML code.
|
|
#7
|
||||
|
||||
|
Thanks for the suggestions, I'll give it a try.
edit: Ok, the way I did it is I added a new CSS entry: Code:
.extrabg {
background-image: url(/images/test2.gif);
background-attachment: fixed;
background-position: top right;
background-repeat: no-repeat;
}
<div class="extrabg"> then, at the end of the footer template, I've added: </div> that seems to work just fine. |
|
#8
|
||||
|
||||
|
Cool.
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|