EvilZone

Programming and Scripting => Web Oriented Coding => Topic started by: @Veritas_Triumphus on November 08, 2011, 02:15:14 PM

Title: Several backgrounds?
Post by: @Veritas_Triumphus 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/ (http://tvoj-oblak.serbianforum.info/)


Top box. Dont udnerstand why it doesent work?
Title: Re: Several backgrounds?
Post by: iAmLuFFy 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 (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); (http://www.dodaj.rs/f/3o/6S/2YKVJdzt/zeleno.png);)
 

 
just asking, sorry if its a mistake :)
Title: Re: Several backgrounds?
Post by: @Veritas_Triumphus on November 08, 2011, 02:34:35 PM
That doesent mather. Ty for trying xD
Title: Re: Several backgrounds?
Post by: iAmLuFFy 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.
Title: Re: Several backgrounds?
Post by: xzid on November 08, 2011, 02:42:34 PM
imgage, trasnaprent
Title: Re: Several backgrounds?
Post by: Zesh 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/ (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.
Title: Re: Several backgrounds?
Post by: @Veritas_Triumphus on November 08, 2011, 02:44:24 PM
This is code:
(http://www.dodaj.rs/f/1e/qO/2124c5f5/2011-11-08144421.jpg)
Title: Re: Several backgrounds?
Post by: @Veritas_Triumphus 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/ (http://forum-owners.forumotion.in/)
Title: Re: Several backgrounds?
Post by: xzid 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 (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.
Title: Re: Several backgrounds?
Post by: @Veritas_Triumphus on November 08, 2011, 04:05:21 PM
Oh ok. Thank you.