Author Topic: Several backgrounds?  (Read 2483 times)

0 Members and 1 Guest are viewing this topic.

Offline @Veritas_Triumphus

  • Peasant
  • *
  • Posts: 65
  • Cookies: 2
    • View Profile
Several backgrounds?
« on: November 08, 2011, 02:15:14 pm »
I used this code:
Code: [Select]
#pun-intro {
  width:900px;
  height:100px;
  background-imgage: url (http://www.dodaj.rs/f/40/py/ttJb5Kh/plavo.png), url(http://www.dodaj.rs/f/3o/6S/2YKVJdzt/zeleno.png);
  background-position:top-left, top-right;
  background-repeat:repeat-y;
  background-color:trasnaprent;
    border-bottom-color: transparent;
But there is no background as I want. There is just:
http://tvoj-oblak.serbianforum.info/


Top box. Dont udnerstand why it doesent work?
« Last Edit: November 08, 2011, 02:15:45 pm by @Veritas_Triumphus »
Code: [Select]
while (1) {
document.write("I love EvilZone.org" + "<br />");
}

Offline iAmLuFFy

  • Knight
  • **
  • Posts: 226
  • Cookies: 6
  • i aM MoDiFiEr nOt A cReAtOr
    • View Profile
Re: Several backgrounds?
« Reply #1 on: November 08, 2011, 02:31:24 pm »
Don't know which coding is this but,
 
does it make any diffrence that you give one space here between url and().
 

  background-imgage: url (http://www.dodaj.rs/f/40/py/ttJb5Kh/plavo.png),


 
and here it is just no space?
 
url(http://www.dodaj.rs/f/3o/6S/2YKVJdzt/zeleno.png);
 

 
just asking, sorry if its a mistake :)
iAmLuFFy

Offline @Veritas_Triumphus

  • Peasant
  • *
  • Posts: 65
  • Cookies: 2
    • View Profile
Re: Several backgrounds?
« Reply #2 on: November 08, 2011, 02:34:35 pm »
That doesent mather. Ty for trying xD
Code: [Select]
while (1) {
document.write("I love EvilZone.org" + "<br />");
}

Offline iAmLuFFy

  • Knight
  • **
  • Posts: 226
  • Cookies: 6
  • i aM MoDiFiEr nOt A cReAtOr
    • View Profile
Re: Several backgrounds?
« Reply #3 on: November 08, 2011, 02:41:08 pm »
And you haven't close the } as you posted code here.
 
that must be matter if you didn't close it.
iAmLuFFy

Offline xzid

  • Knight
  • **
  • Posts: 329
  • Cookies: 41
    • View Profile
Re: Several backgrounds?
« Reply #4 on: November 08, 2011, 02:42:34 pm »
imgage, trasnaprent

Offline Zesh

  • Royal Highness
  • ****
  • Posts: 699
  • Cookies: 42
    • View Profile
Re: Several backgrounds?
« Reply #5 on: November 08, 2011, 02:43:34 pm »
I used this code:
Code: [Select]
#pun-intro {
  width:900px;
  height:100px;
  background-imgage: url (http://www.dodaj.rs/f/40/py/ttJb5Kh/plavo.png), url(http://www.dodaj.rs/f/3o/6S/2YKVJdzt/zeleno.png);
  background-position:top-left, top-right;
  background-repeat:repeat-y;
  background-color:trasnaprent;
    border-bottom-color: transparent;
But there is no background as I want. There is just:
http://tvoj-oblak.serbianforum.info/


Top box. Dont udnerstand why it doesent work?

I'm sure you can't have multiple backgrounds but I did notice that you spelt background-image wrong.

Offline @Veritas_Triumphus

  • Peasant
  • *
  • Posts: 65
  • Cookies: 2
    • View Profile
Re: Several backgrounds?
« Reply #6 on: November 08, 2011, 02:44:24 pm »
This is code:
Code: [Select]
while (1) {
document.write("I love EvilZone.org" + "<br />");
}

Offline @Veritas_Triumphus

  • Peasant
  • *
  • Posts: 65
  • Cookies: 2
    • View Profile
Re: Several backgrounds?
« Reply #7 on: November 08, 2011, 02:47:11 pm »
Ok. I fixed those errors (image and transparent but still not working). And I know its possible: Like here:
http://forum-owners.forumotion.in/
Code: [Select]
while (1) {
document.write("I love EvilZone.org" + "<br />");
}

Offline xzid

  • Knight
  • **
  • Posts: 329
  • Cookies: 41
    • View Profile
Re: Several backgrounds?
« Reply #8 on: November 08, 2011, 03:14:47 pm »
That forum banner is a single image.

http://www.dodaj.rs/f/V/rd/1FdKcnH0/header.png

Although in CSS you can overlap images, make them transparent. Take for example your green thing and EZ logo:
Code: [Select]
<html><body>

<div id="a"></div>
<div id="b"></div>

<style>
#a {
  width:900px;
  height:100px;
  background-image: url(http://evilzone.org/logo_02.png);
  position:absolute;
}
#b {
  width:900px;
  height:100px;
  border:2px;
  background-image: url(http://www.dodaj.rs/f/3o/6S/2YKVJdzt/zeleno.png);
  position:absolute;
  opacity:0.5;
  z-index:2;
}
</style>

</body></html>

Been very long since I wrote CSS.

Offline @Veritas_Triumphus

  • Peasant
  • *
  • Posts: 65
  • Cookies: 2
    • View Profile
Re: Several backgrounds?
« Reply #9 on: November 08, 2011, 04:05:21 pm »
Oh ok. Thank you.
Code: [Select]
while (1) {
document.write("I love EvilZone.org" + "<br />");
}