Log In · Register

 
Double Background???, 2 diff picts w/ 2 diff repeat patterns
ghetosmurph
post Jan 7 2006, 07:08 PM
Post #1


Senior Member
****

Group: Member
Posts: 142
Joined: Jan 2005
Member No: 82,183



ok, i'm in the process of creating a skin and i am looking for a way to put 2 different pictures in the the background of my site each having it's own repeat pattern. This would allow me to basically have 2 different image boders, one horizontally along the top, the other vertically along the left side, to creat waht would apper to be one background.

here's the excerpt from my sttyle sheet which i am attempting to modify......

CODE:
body{background-image:url(http://img.photobucket.com/albums/v236/your_scariest_nightmare/background.png);
background-attachment:scroll;
background-repeat:repeat-x;
background-position:top right;
background-color:0094D6;

border-width:2px;
border-color: transparent;
border-style:solid;}
table, td{background-color:transparent;border:none;border-width:0}


so what i want to basically know is...... can I just put in 2 background images like this?.....

CODE:
body{background-image:url(http://img.photobucket.com/albums/v236/your_scariest_nightmare/background.png);
background-attachment:scroll;
background-repeat:repeat-x;
background-position:top right;
background-color:0094D6;

background-image:url(http://img.photobucket.com/albums/v236/your_scariest_nightmare/background.png);
background-attachment:scroll;
background-repeat:repeat-x;
background-position:top right;
background-color:0094D6;

border-width:2px;
border-color: transparent;
border-style:solid;}
table, td{background-color:transparent;border:none;border-width:0}


or if i were to do such a thing would i have to label it background1 and background2 so it doesnt get confused?..... or is there any other way to basically just add another image on top of the background, but behind everything else without calling it a background in the stylesheet???

I know this is kind of a specific question, but a quick answer would be much appreciated...... Thanks!
 
 
Start new topic
Replies (1 - 1)
alduhkneel
post Jan 7 2006, 07:17 PM
Post #2


hindi ko maisip kung wala ka sa buhay ko.
****

Group: Member
Posts: 290
Joined: Nov 2005
Member No: 298,637



no, that wouldn't be possible to do that.
if it was a div overlay you were doing, you could create two different divs, name them, and do two different backgrounds. or you can combine the backgrounds in photoshop so you'll only need one background code.
 

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