Css background

Bok,

dali se moze nekako napravit da poslozim vise slika za backgound…

Recimo gore,sredina (koja se ponavlja) i recimo dno??

Lp i hvala,
Ivan

neće ići… trebaš više divova, ili tablicu kako god…

a nije loše riješenje niti da baš pucaš slike unutra, pa probaš sa float:left i right ih posložit

html {

	background: url(srednja.jpg) repeat-y scroll top left;

}

body {
	background: url(gornja.jpg) no-repeat scroll top center;
	width:100%;

}

I još na dnu napraviš div na 100% u kojeg ces stavit taj 3. bg :slight_smile:

bude uskoro

[i]The background of a box can have multiple layers in CSS3. The number of layers is determined by the number of comma-separated values in the ‘background-image’ property. Note that a value of ‘none’ still creates a layer.

Each of the images is sized, positioned, and tiled according to the corresponding value in the other background properties. The lists are matched up from the first value: excess values at the end are not used. If a property doesn’t have enough comma-separated values to match the number of layers, the UA must calculate its used value by repeating the list of values until there are enough.[/i]

[quote=“paor”]bude uskoro

[i]The background of a box can have multiple layers in CSS3. The number of layers is determined by the number of comma-separated values in the ‘background-image’ property. Note that a value of ‘none’ still creates a layer.

Each of the images is sized, positioned, and tiled according to the corresponding value in the other background properties. The lists are matched up from the first value: excess values at the end are not used. If a property doesn’t have enough comma-separated values to match the number of layers, the UA must calculate its used value by repeating the list of values until there are enough.[/i][/quote]

ako je uskoro 10 godina onda da bude, ali meni to baš i nije uskoro :wink:

ako si mislio na IE, možda si i u pravu…ali samo možda (hint: IE9)

ostali novi browseri uredno podržavaju css3 (isprobano na border-radius i multiple background)


Copyright © 2020 WM Forum - AboutContact - Sponsored by: Mydataknox & Webmaster.Ninja