EvilZone

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

: Several backgrounds?
: @Veritas_Triumphus November 08, 2011, 02:15:14 PM
I used this code:
:
#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?
: Re: Several backgrounds?
: iAmLuFFy 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 :)
: Re: Several backgrounds?
: @Veritas_Triumphus November 08, 2011, 02:34:35 PM
That doesent mather. Ty for trying xD
: Re: Several backgrounds?
: iAmLuFFy 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.
: Re: Several backgrounds?
: xzid November 08, 2011, 02:42:34 PM
imgage, trasnaprent
: Re: Several backgrounds?
: Zesh November 08, 2011, 02:43:34 PM
I used this code:
:
#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.
: Re: Several backgrounds?
: @Veritas_Triumphus November 08, 2011, 02:44:24 PM
This is code:
(http://www.dodaj.rs/f/1e/qO/2124c5f5/2011-11-08144421.jpg)
: Re: Several backgrounds?
: @Veritas_Triumphus 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/)
: Re: Several backgrounds?
: xzid 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:
:
<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.
: Re: Several backgrounds?
: @Veritas_Triumphus November 08, 2011, 04:05:21 PM
Oh ok. Thank you.